ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use time in True/False condition

Solved!
Go to solution

Hello to everyone, 

 

does labview somehow give the option to use time in a condition? I will give an example to make it clear. x=10, y=5 (and increasing and decreasing until after sometime reaches y=10). I want to have a True signal when x=y for more than 3 sec. 

 

Can this be done?

0 Kudos
Message 1 of 3
(3,966 Views)
Solution
Accepted by topic author Loukask

Sure.  Use the Elapsed Time Express VI.

 

Wire a False to the Auto-reset.

 

Whenever X <> Y, then feed a True into the Reset.  When X=Y it is false.

 

Now when X=Y for more than 3 seconds, the output becomes true.

 

Message 2 of 3
(3,961 Views)

thanks a lot

 

0 Kudos
Message 3 of 3
(3,952 Views)