First, you must specify the desired default values for your front panel controls by manually setting them and then left clicking on each and selecting Data Operations >> Make Current Value Default. Alternatively, you can manually set all front panel controls to desired values and set all controls as default at once by navigating to the Edit toolbar and selecting Make Current Values Default. Then you'll be able to configure your VI to programmatically reset to these values at the beginning of each VI run.If you are using LabVIEW version 8.0 or later, there is a method of the VI class Default Values.Reinitialize All to Default. This method is identical to the menu option Edit>>Reinitialize All Values to Default. To call this method programmatically, follow the steps outlined below:
In versions of LabVIEW prior to 8.0 you will need to use the Control class method Control.Reinitialize To Default to set the default value of each front panel control individually. To implement this follow the below steps for each control:
Click on the method in your invoke node and select Reinitialize to Default
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful