LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start elapsed timer when true / reset when false

All,

I have an elapsed timer that needs to start when a signal is True and keeps on counting.
When this signal is false, I have to reset the elapsed timer and it has to start again from zero when the signal is again true.

I guess this is an easy one, but I can not find how to solve this.

If I please it in a case structure, I cannot reset when case is false.

 

Thx in advance

0 Kudos
Message 1 of 3
(3,389 Views)

Care to share what you have so far?  Are you trying to make this a separate VI?  Or is it in a loop?

 

Have you looked at the Elapsed Time express VI (in the Timing palette)?  That might do what you want.

 

The other idea is use use a simple Action Engine.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(3,384 Views)

try this...

timer.png

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