One final somewhat esoteric note. If you have a choice, you should set a front panel value using the following order of precedence for methods
- The terminal (see first example above)
- A local variable
- A property node (see last suggestion above)
The reason for this is that a property node is synchronous while the terminal and local variable are not. When you set a Value (or Value signalling) property, LabVIEW does bounds checks, any front panel redraws, and sets the control/indicator value before returning. When setting a terminal or local variable, the new value is posted as a change and occurs on the next UI update (about 30Hz update rate). This makes the time usage orders of magnitude less for the terminal or local variable vs. the property node. You do end up using a lot of single-frame sequence structures doing this to get the data flow right. The efficiency gained is well worth the effort.