LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating a pulse train on serial port using labview 6.1

want to genrate a pulse to trigger AOm which needs a pulse of 1 msec duration i'm using rs232 port and labview6.1version
0 Kudos
Message 1 of 4
(2,975 Views)
Don't use the RS232 port. By design, it will send out a start bit, 7 or 8 data bits, and stop bit(s). You cannot change that. Therefore it is not ideal for sending out pulses of certain duration. Instead use the parallel port. Labview has examples on how to use the parallel port. You can also search NI website for examples. Just set one of the lines high, wait for 1msec, then set it low.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 4
(2,971 Views)
You can control the state of the DTR and RTS lines of an RS232 port in LabVIEW. The following KnowledgeBase shows how you can assert and unassert those lines.

KnowledgeBase 21P954LI: How Can I Control the DTR and RTS Serial Lines in LabVIEW?

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
Message 3 of 4
(2,954 Views)
shawn B
thank you
i could make the vi needed and hopefully helped other working on the same problem
thanks once again
best regards,
sridhar
0 Kudos
Message 4 of 4
(2,910 Views)