Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Working with a digital input

I'm working with the DAQ Assistant from NI and getting a digital signal from my device. I want my application to start a loop as soon as it gets the signal, however, the digital signal stay on true as long as the signal is on. Although the time is 1 sec, I am still getting many true signals and the loop is restarting each time. Can someone tell me how I can make the digital signal give me one single true statemnet for every trigger of my device??? Thanks
0 Kudos
Message 1 of 2
(2,874 Views)
I believe what you are looking for is edge detection on your incoming digital signal.  I would recommend you use an edge counting task, and then everytime your task counts up you can make a true go into your loop.
Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 2 of 2
(2,848 Views)