Add Simulation Model Dialog Box

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

In the System Explorer window, select Targets»Controller»Simulation Models from the configuration tree and click the Add a Simulation Model button to display this dialog box. Use this dialog box to add and configure a simulation model.

This dialog box contains the following pages:

  • General—Contains the following options:
    • Name—Specifies the name of the model that displays in the System Explorerconfiguration tree.
    • Path—Specifies the path to the model file on disk.
    • Simulation model info—Displays information about the model.
  • Settings—Contains the following options:
    • Initial state—Specifies the initial execution state for the model:
      • Initial state running—Specifies that the initial state of the model is running.
      • Initial state paused—Specifies that the initial state of the model is paused.
    • Decimation—Specifies the decimation to apply to the Primary Control Loop (PCL) rate to determine the Rate of the model, where Rate = PCL rate / Decimation.
    • Rate—Displays the rate in hertz at which the model executes.
    • Auto Select Decimation—Automatically selects the Decimation for the model.
    • Simulation model processor—Specifies the mode to use to determine the processor on which the model runs. You can select from the following options:
      • Automatic—(Default) The RT scheduler determines the optimal processor on which to execute the model at each iteration.
      • Manual—Executes the model on the processor you specify in the Processor field.
    • Processor—Specifies the processor on which to run the model, where 0 is the first processor.
    • Description—Specifies a description for the model.
  • Parameters and Signals—Contains the following options:
    • Common—Specifies common options for importing a model. This option is enabled by default.
      • Import all parameters—Imports all parameters from a model.
      • Import all signals—Imports all signals from a model.
        • Import signals with name only—Imports only signals that have names.
    • Filtered—Specifies the options to use to filter out certain parameters and signals from your imported models.
      • Regular expression parameters—Imports only parameters that match the regular expression you specify.
      • Regular expression signals—Imports only signals that match the regular expression you specify.
      • Filter out signals without names—Imports only signals that have names.
    • Display Settings—Specifies options for displaying imported parameters and signals in the configuration tree.
      • Hide signals without name—Hides the imported signals that do not have names.
    • Scope for Global Parameters—Specifies whether or not global parameters in the current model share their values with other models:
      • Target—Specifies that updates to a global parameter also apply to any global parameters with the same name in other models that run on the same target.
      • Model—Specifies to restrict updates to only the current model.
  • Inports and Outports—Contains the following options:
    • Vector port specification—Specifies whether to import vector inports and outports as a group of scalar channels or a single vector channel. Each option has use cases for which it is appropriate.
      • Segment into scalar channels—Separates vector inports and outports into scalar channels.
      • Maintain as vector channel—Maintains vector inports and outports.

Related Links

Recommendations for Configuring Models


Not Helpful