LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time measurement

Hi. I'm a LabView-rookie! I'd like to measure the time between two signal
peaks given to the serial port by an optical sensor.
Is it possible to poll only a specific pin (eg. CTS) and how can I realise
it with LabView?
0 Kudos
Message 1 of 2
(842 Views)
You can poll the CTS line using VISA. Open VISA session to com port, pass
this session to property node. For property, select Modem Line Settings/CTS
State. You can also look at the other handshake lines. As for timing, it
will not be very precise as you are relying on windows timing I presume.
If you want good timing precision you should use a DAQ board with a counter,
this will be much more precise than windows.
"Yves" wrote:
>>Hi. I'm a LabView-rookie! I'd like to measure the time between two signal>peaks
given to the serial port by an optical sensor.>Is it possible to poll only
a specific pin (eg. CTS) and how can I realise>it with LabView?
0 Kudos
Message 2 of 2
(842 Views)