09-20-2011 09:20 PM
I searched on the NI.com website and found an example where the description says that the VI will result in getting a constant voltage output of 5V from the serial port signal. I searched the following phrase "Outputting a Constant Signal From a Serial Port" and its the first result.
In case it may provide any assistance. I am not even sure if it is related to what I need.
09-20-2011 10:07 PM - edited 09-20-2011 10:08 PM
The article is wrong about 5V. Do a little basic research on RS-232. The cable you have was possibly intended for a printer port.
09-20-2011 10:37 PM
@Dennis
Thanks for the fast reply. What do you suggest is the best way to obtain a TTL signal from the computer to use it to trigger the instrument?
09-20-2011 11:27 PM
09-21-2011 01:49 AM
@Dennis
I found an article when I was searching on how to use the parallel port with the phrase"How Do I Use the Parallel Port in LabVIEW?" . This describes a couple of ways to use the parallel port. Will this be useful in obtaining the desired TTL signal I want.
09-27-2011 03:26 PM
I read about trying the parallel port but the Inport.vi and the Outport.vi do not work with Windows Vista (which is the OS in the computer I am using) and LabVIEW 8.2 version so this method is no more possible. I finally got a serial port to ttl converter but I still dont understand what commands should I give and how I should achieve a ttl level trigger signal. I am attaching the data sheet of the converter I got. I hope someone could lead me to learn about serial communications now.
09-28-2011 11:38 AM