LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean indicator toggle cancellation??

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

0 Kudos
Message 1 of 2
(2,224 Views)
0 Kudos
Message 2 of 2
(2,212 Views)