From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Edge Detection Help

Solved!
Go to solution

Hello Friends,

 

I have a little problem, would be great if someone can help me solving it.

 

I have an Edge detection VI which gives the number of edges of the input signal.

But I would like if edge detection was 0 for the last 10 seconds, it gives me an Output true or false.

 

True if the edge detection = 0 for last 10 seconds

False if edge detection , not eqaul to 0 for last 10 seconds.

 

Thank you,

Kind Regards,

Akash

0 Kudos
Message 1 of 2
(2,091 Views)
Solution
Accepted by topic author Raj_Raj

The Elapsed Time express VI can be configured to let you know if some amount of time has occured.  You can set this to 10 seconds, and force a reset, if a transition was detected.  Do this inside a while loop that you check every once in a while.

Message 2 of 2
(2,020 Views)