LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time delays

Currently, I can successfully complete the following simple action:

upon running my VI, one LED comes on
after one second, a second LED comes on
after two seconds, a third and final LED comes on

because I can only place one input into the the LEDs, I do not see how it
would be possible to change all three boolean inputs to false after a given
amount of time. Any hints are much appreciated

Aaron
0 Kudos
Message 1 of 2
(2,463 Views)
Hello Aaron,

you can use local variables (right-click on terminal-> create -> local). Set the locals to writable, if they aren't. Use them like the original control/indicator.
And read the chapter on locals/globals in the manual!
You can do all this also without locals by using a (while) loop and a case-statement (aka state machine, look for that in the user group).

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,463 Views)