LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset String Control Box Property Node Every Time VI Runs

Hello, 

 

How do I reset property node states (In particular, Text.BGColor) for string control boxes every time VI runs ? I found that once the color of a property node changes during the program, it does not change back for the next run. 

 

Regards

 

FLiu

0 Kudos
Message 1 of 3
(2,980 Views)

You need to set it again at the beginning of your VI.

0 Kudos
Message 2 of 3
(2,971 Views)

If your VI is a state machine, simply put property nodes to set the values the way you want them in the Initialize state. You could also reset them in a Shutdown state just before the VI stops.

 

If you do not have a state machine architecture, it might be worth considering. Otherwise you will need to find a place for those property nodes where the dataflow will cause them to run at the very beginning of the program.

 

Lynn

0 Kudos
Message 3 of 3
(2,968 Views)