Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

detecting a pulse

Hi,
Iam using a PXI-6722. I have a device which would generate a pulse of 2ms duration based on some conditions. I need to detect this pulse. How can i do this requirement?
 
I thought of using the counter for detecting this. But i want a vi which would stop execution after detecting the pulse, how can i achieve this.
 
Regards
Gopal
0 Kudos
Message 1 of 2
(2,847 Views)

Use a counter on your DAQ card

You could use 'measure pulse width.vi', which you can find in the examples shipped with LabVIEW

Use this vi as a reference.

You could measure pulse width inside a while loop.

Once you detect the 2mS pulse width, just stop the while loop

0 Kudos
Message 2 of 2
(2,844 Views)