LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the current value default programmatically

How to make the current value default programmatically
0 Kudos
Message 1 of 3
(3,556 Views)
Open a VI reference to the desired VI and use invoke mode with method: "Make current values default".

The VI cannot be running, so you need to set it from a different VI. (It also means, it cannot set itself.)
Message 2 of 3
(3,545 Views)
You could always create your own "default" values by creating an .ini file. You can then save the values to the .ini file to change the default for the next run of the machine. The values are read in the initialization of your program and the values are written to the controls/indicators.
Message 3 of 3
(3,537 Views)