Restoring VeriStand Model Default Values Without Redeploying the Project

Updated Feb 19, 2024

Environment

Software

  • VeriStand
  • VeriStand Model Framework

When running the VeriStand Model there might be a need to stop the execution and start from the initial point. Without any changes in the VeriStand project, the model keeps the parameter values that were set before stopping the execution of the model.
VeriStand offers the Model Parameter Manager which helps to create a .txt file to store the Inport and the Parameter values and call them when the project is deployed.

To recall the default values of VeriStand Model Parameters follow the steps below.
  • Deploy the VeriStand project, containing the model of interest.
  • After successfully deploying the project, go to the Tool Launcher section and open the Model Parameter Manager.
image.png
  • The "Model Parameter Manager" tab will be opened in the bottom section of the VeriStand window, containing all the defined default values of the Inports and the Parameters of all the models in the VeriStand Project.
image.png
  • It is possible to change these values before storing them by directly inputting a new value in the "VALUE" section.
  • After defining all the values press the Export Values button.
image.png
  • In the opened Windows File Explorer window define the path and the name of the .txt file.
  • Whenever there is a need to recall the default values, press the Import File button.
image.png
  • In the opened window, select the saved .txt file in the "Parameter file path" section.
  • The "PENDING VALUE" tab will be updated containing the default values of Parameters and Inports.
image.png
  • After these steps, press the Apply Pending Changes button.
image.png​​​​​​​

After taking the steps mentioned above, the model default values will be restored. 
The procedure can be done both in the "Idle" and "Running" stages of the model.