LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use counters to read the difference between two expernal pulse signals?

I generated a pulse signal and sent it to a sensor which in turn gives me a pulse signal back. I need to read the time from which the sent the signal goes high to the time that the signal is returned. How can I read this? the diagram is attached
0 Kudos
Message 1 of 2
(2,324 Views)
Hello;

The way to accomplish that is by using one of the 660x boards, and configure the counter to do "Edge Separation Method".
That method will increment the counter event count value every time a pulse comes into its source input. The counters only increments between the rising edge of the aux line and the rising edge of the gate. The current value of the counter is read when the counter is finished or an error occurs. You need to wire the out pulse to the AUX line, and the return pulse to the gate line of the counter.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,324 Views)