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: 

How to create on delay timer

Dear All

i want to create on delay timer.

Condition is like that:

if Boolean A is true then Boolean B should true after set time provided that Boolean A is keep true whole during set time.

 

Thanks, 

0 Kudos
Message 1 of 5
(4,151 Views)

Look at Elapsed Time Express VI and its Reset input, along with a Boolean Crossing Point by Point.

Message 2 of 5
(4,132 Views)

How about an event structure with your set time wired to the timeout input, an empty case for a value change event on A, and in the timeout case wire A to B? Any change of the state of A will reset the timer, and when it elapses if A was true the whole time then B will be set true as well (or vice versa).

0 Kudos
Message 3 of 5
(4,099 Views)

i write attached code and its working. 

i also want that when max no# is updated at the same time, time should also update to view at what time this max no was detected.

please see attached vi.

0 Kudos
Message 4 of 5
(4,078 Views)

It can't be working.  It has a broken run arrow because the case structure selector doesn't have a wire going to it.

 

Your Max value should be updating continuously the way you have it programmed.

0 Kudos
Message 5 of 5
(4,058 Views)