Updating Model Parameters During Test Execution Using the Stimulus Profile Editor Tutorial
- Updated2025-04-08
- 1 minute(s) read
Updating Model Parameters During Test Execution Using the Stimulus Profile Editor Tutorial
Call text files in a stimulus profile to update the values of engine model parameters while a test is running.
Use the Update Model Parameters from File step in a stimulus profile to call text files. This step has similar functionality to the VeriStand Editor Model Parameter Manager tab and the Model Parameter Manager Workspace tool. The step can update the parameters of a deployed and running model.
Using the step removes the manual process of launching the tool, updating values, and applying those values. Also, because Update Model Parameters from File is a step, it executes inline with the rest of your stimulus profile code. This ensures that you can update your model at known points within the execution of the stimulus profile.
- Deploy the Engine Demo—Deploy the engine demo's system definition before running a stimulus profile.
- Update the stimulus profile to use a text file—Configure an existing stimulus profile to use a text file to update model parameters without having to create and run multiple profiles.
- Run the stimulus profile—Compile and run the stimulus profile to see the real-time sequence interact with the Engine Demo.
Related Information
- Update Model Parameters from File Step
Updates parameter values for a simulation model to the values specified in a text (.txt) file.
- Deploying the Engine Demo
Deploy the engine demo's system definition before running a stimulus profile.
- Updating a Stimulus Profile to Use a Text File for Model Parameters
Configure an existing stimulus profile to use a text file to update model parameters without having to create and run multiple profiles.
- Running a Stimulus Profile
Compile and run the stimulus profile to see the real-time sequence interact with the Engine Demo.