LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed counter in a while loop without overlapping a second while loop

Hello,

Like you can see in attached file (waveform_counter.vi), I have a main while loop which makes a waveform graph and I would like to integer an inversed counter (from x seconds to 0) in some cases. I tried with a overlapped while loop, but obviously, when the counter works, the main loop breaks...
How can I make a sort of time counter without a loop ? I tried with the while loop iteration, every 100 iterations the counter decreases but I don't success.

Thanks for help.
Nathalie.
0 Kudos
Message 1 of 3
(2,576 Views)
Hello Nathalie:

Please see what I did in the expiration case.
Please advice if this is a possible solution.

0 Kudos
Message 2 of 3
(2,563 Views)
Yes, it looks really good, thank you very much !!!
0 Kudos
Message 3 of 3
(2,553 Views)