11-11-2010 02:53 PM
Hi there,
I have a voltage input coming from a daq usb 6009. I wrote a program to detect for the amplitude of the signal as soon as the input signal goes over a certain threshold. however it seems that sometimes the boolean output of the detection toggles "T-F-T-F" which modifies the amplitude calculation, and gives a wrong answer.
My question is, how can I ignore this toggling and only take the first true for a period of 0.5 sec (the period of the input signal). I want something like a software debounce circuit.
I hope I was clear.
Thank you
11-11-2010 05:44 PM
Did you try a search?
E.g.: http://forums.ni.com/t5/LabVIEW/Software-debouncing-DI/m-p/400543#M199206