Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port output control

i have a serial port(COM1) on my computer, and i want to control a pump. the pump only has only 2 inputs. if you want to turn the pump on, a digital high needs to be inputted, else a digital low. the other pin is used for direction. can this be done with a serial port. i have labview 5.1, basically i want to control 2 pins on the serial port, and send out digital 'highs' or 'lows'

thanks for the help,

mandeep
0 Kudos
Message 1 of 4
(3,544 Views)
You may be able to use a modem signal (RTS or DTR) or set/clear break. The voltages will be about +10V for one state and -10V for the other.
Message 2 of 4
(3,544 Views)
Dear Mr. Rake,

Can you briefly tell me how to get access to those pins in LabView 5.1, I was thinking writing to serial port, but how can I set a secific pin to +/- 10. Again, thanks for your help.

mandeep
0 Kudos
Message 3 of 4
(3,544 Views)
Dear Mr. Rake,

actually, is there any way possible to use Com1 port to send out data such as +12 and 0, those are the only values needed from 2 pins. i can get out a +12 and -12, but not a +12 and a 0. thanks for all the help,

mandeep
0 Kudos
Message 4 of 4
(3,544 Views)