Identifying Local and Global Parameters
- Updated2025-12-15
- 2 minute(s) read
Identifying Local and Global Parameters
Use VeriStand to determine if your parameters are local or global.
Local parameters apply to a specific subsystem, or block, in the owning model. Local parameters allow you to independently adjust a common parameter for multiple instances of the same block.
Global parameters, by default, apply to the current model and to any global parameters with the same name in other models on the target. You can restrict global parameters in a model from applying to other models by configuring the scope of the global parameters. Global parameters are similar to workspace variables in MathWorks MATLAB® software.
A parameter expression contains the model name that appears in the System Explorer configuration tree. Every parameter also has an associated path that contains the name the model was compiled under. The expression of a global parameter also indicates whether its scope is at the target-level or the model-level.
- Launch your project in the VeriStand Editor.
- In the Project Files pane, left-click a system definition file (.nivssdf) and select Configure in System Explorer.
- Click in the configuration tree.
- Click a model.
- Click Parameters and select a parameter.
- On the Parameter Configuration page, review the parameter information.
-
Based on the model's expression and characteristics, determine the parameter
type.
Example expression Characteristic Parameter type Sine Wave/Block1/Amplitude The root of the Amplitude parameter is a block rather than a model. Local Sine Wave/Amplitude The root of Amplitude is the owning model. Global, model-level scope Amplitude The root of Amplitude is not a specific model. Global, target-level scope Note The name of the owning model in the system definition is Sine Wave.
Related Information
- Adding and Configuring a Model
Connect a model to other parts of the system and run the model on a hardware target.
- Scoping Global Parameters
Update the scope of all global parameters in a model to the target-level or model-level.