Table Of Contents

Creating a Basic Stimulus Profile

Last Modified: August 31, 2020

Configure a stimulus profile to execute a real-time sequence.

Before you begin, create a real-time sequence for the engine demo.
  1. In the Stimulus Profile Editor, click the Start Page tab.
  2. Click New Stimulus Profile.
  3. Save the stimulus profile as Engine Demo Basics tutorial.nivsstimprof in the <Common Data>\VeriStand Projects\Engine Demo\Stimulus Profiles\Basic Engine Demo directory.
  4. Add a step to launch the VeriStand Editor.
    1. In the Steps palette, expand Other and drag Command Shell into Setup.
    2. In the Property Browser, specify the full path to VeriStand.exe as the Filename.

      You can add arguments in the Property Browser for this step to specify the VeriStand project, system definition file, and VeriStand gateway IP address to connect to.

    When the stimulus profile runs, this step opens the VeriStand Editor or Workspace so you can watch the stimulus profile execute.
  5. In the Steps palette, expand Real-Time Sequences and drag Real-Time Sequence Call into Main. The Real-Time Sequence Call calls the real-time sequence you specify in the Property Browser.
  6. Select the Real-Time Sequence Call step in the stimulus profile code to specify the real-time sequence to call. The Property Browser displays several properties you can use to configure the step. Each step in a stimulus profile contains properties. These properties are editable attributes that determine how the step executes.
  7. In the Property Browser, browse the File Path to the real-time sequence you created. The Parameters section of the Property Browser displays the parameters in the called real-time sequence as well the channels assigned to them. If you use the parameters to read or write system definition channels, you must assign those channels to the parameters in the stimulus profile. When you add a real-time sequence call, the stimulus profiles uses the default assignment for each parameter.
  8. Click the Target Name pull-down and select Controller to execute the real-time sequence on the Controller target.
  9. Click the Pass Fail pull-down and select AlwaysPass.
  10. Save the stimulus profile.

The stimulus profile code will look like the following image.

After creating the stimulus profile, run it.

Recently Viewed Topics