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 do I clear boolen indicators on START?

When the file is first opened boolean T/F indicators are RED. They turn green as tests are passed. However on another START they stay the same as the last Run. Can they be cleared iupon a START/RUN command?
0 Kudos
Message 1 of 4
(2,209 Views)
Hi Ralpho,

You can go to VI Properties > Execution and select the "Clear indicators when called" option. This should solve your problem.

Good luck,
-D
0 Kudos
Message 2 of 4
(2,209 Views)
How about sending the boolean indicator a false constant initially?

Another way would be to just set default value to False for the indicator.
0 Kudos
Message 3 of 4
(2,209 Views)
How I do it : Grab an Invoke Node, set the "Select Class" to VI Server > VI. Set the "Method" to Reinitialize All To Default. Put this at the beginning of your program.
If I want some indicators to read a certain value at startup, I either use an INI file, or if it's just a few things, I set the value with a local variable write, just after the Invoke Node does the Reinitialize.
Richard






0 Kudos
Message 4 of 4
(2,209 Views)