zero-tolerance Posted October 25, 2006 Report Posted October 25, 2006 Hi everyone. I'm involved in a project where I'm controlling a stepping motor via a Unipolar Stepper Motor Board (manual provided on the link. I only want to controll the direction and the speed of the motor and I'm using a Hall affect detector for the zero position of the motor. (i.e. i'm basically using it as a referanc position) http://documents.rs-components.com/rs-bin/...900766b802ee6cd Anyway, my main concern for now is to talk to the Motor controller Board through the parallel port of my PC. I am using Windows 200 Platform (I don't think it would make a differene). I have previously used LabView when I was involved in a different project but then I used srial port as the link with the hardware I had. What I really need is to directly controll 3 pins of the parallel port: 1 for direction, 1 for speed and 1 for zero position. Two of the pins will be connected to the motor Board and the third one to the Hall Affect detector. So, does anyone know how to directly access th parallel port pins through LabView. Thank you Quote
labviewgeek Posted October 26, 2006 Report Posted October 26, 2006 You can write to the parallel port using Out Port. Please see the examples at the locations listed below. The address of the parallel port is x378. Parallel Port Read and Write Loop VI: labview\examples\portaccess\parallel port examples.llb Parallel Port Additional Data Register Inputs VI: labview\examples\portaccess\parallel port examples.llb Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.