LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

5 second timer

hi,
i dont´t know how to build a timer that delivers a boolean "true" every 5 seconds for running a case-structure.
can anyone give me an advise?

thx
0 Kudos
Message 1 of 7
(3,944 Views)
Hi reen,
If you have LV7 or later, the easiest way is to use the express 'Elapsed Time vi'which will generate an boolean true when the time setpoint has been reached.
Hope this helps.
0 Kudos
Message 2 of 7
(3,933 Views)
i just have lv6.1
are there other possiblities?
0 Kudos
Message 3 of 7
(3,931 Views)
Do other things in the same loop need to run more frequent? If not, you could just use an event structure with a 5 second timeout and place your code inside the timeout event.

If your loop times are arbitrary, but the case should only trigger every 5000ms, do something like in the attached example (LV6.1).

Message Edited by altenbach on 06-20-2005 11:49 PM

0 Kudos
Message 4 of 7
(3,918 Views)
Hello

This is created using LV7.0 and down-converted to LV6.1
Not sure if it still works fine in LV6.1 and it may not be exact (ms) but close enough 😛

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 5 of 7
(3,908 Views)
Oops.. duplicate 😛 please see above, thanks!

Cheers!

Message Edited by ian.f on 06-21-2005 04:37 PM

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 6 of 7
(3,908 Views)
This could be better for your reference 🙂

Best regards,
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 7 of 7
(3,901 Views)