LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reset to initial values after program ends

How can I reset all my values to their default after the program has finished executing?
0 Kudos
Message 1 of 3
(2,476 Views)
Hi teky,

I would use some sort of case structure (that will determine whether or not your program is finished running) with the Invoke nodes of the things you want reinitalized to their default values (i.e. an array with default values, or a rocker button, etc).

Hope this helps  
Anthony Wong
University of Toronto
Chemistry Department
0 Kudos
Message 2 of 3
(2,471 Views)
Also, you can create an invoke for the vi itself and choose "Reinitialize All to Default". Place an unwired invoke node on the diagram from the application control palette then right click on it to change it from the application class to vi class.
0 Kudos
Message 3 of 3
(2,462 Views)