Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to assing individual pins in Labview

I am looking to assign a certain pin on a RS-232 serial connection to a hign state, while turning the other pins to a low state. I am trying to send pulses down the cable to control a stepper motor. Is there a way to do this in Labview using the serial sommunication objects.
0 Kudos
Message 1 of 2
(3,290 Views)
You can control some of the pins using a VISA property node. E.g., "Modem Line Settings->Line CTS State".

You might also consider using the parallel port. There are some examples (in LabVIEW 7) in examples/portaccess.llb that show you how to get to the parallel port registers. From there, you'll have to know more about how parallel ports are put together, but you can control a bunch of digital lines that way. (It's easy to find information about programming the parallel port if you search the web.)

Of course, the easiest solution is probably to get a motion control board from NI. But maybe you're in it for the challenge... 😉

Brian
0 Kudos
Message 2 of 2
(3,290 Views)