Table Of Contents

Creating a Stimulus Profile that Calls a Channel Referencing Sequence

Last Modified: June 10, 2021

Configure a stimulus profile to turn on the engine and measure how long it takes the engine to settle at various RPMs.

Before you begin, create a real-time sequence with channel references and local variables.
  1. In the Stimulus Profile Editor, click the Start Page tab.
  2. Click New Stimulus Profile.
  3. Save the sequence as Test Engine Set Points tutorial in the <Common Data>\VeriStand Projects\Engine Demo\Stimulus Profiles\Engine Demo Channel References directory.
  4. Add a setup step to call the sequence to turn on the engine.
    1. In the Steps palette, expand Real-Time Sequences and drag Real-Time Sequence Call into Setup.
    2. In the Property Browser, navigate to the Set Engine Power real-time sequence as the Filename.
    3. Under Parameters, click the OnOff pull-down and select True.
      spd-note-note
      Note  

      You do not need to configure any channel mappings from the stimulus profile. The real-time sequence uses a channel reference to change the value of the EnginePower channel to the value specified by the OnOff parameter.

  5. Add main steps.
    1. Add a Real-Time Sequence Call into Main.
    2. In the Property Browser, navigate to the Measure Set Point Response real-time sequence as the Filename.
    3. Under Parameters, enter the Setpoint as 2500, Timeout as 60, and Tolerance as 100.
    4. Add another Real-Time Sequence Call to the Measure Set Point Response real-time sequence and enter the Setpoint as 6000, Timeout as 60, and Tolerance as 100.
    5. Add another Real-Time Sequence Call to the Measure Set Point Response real-time sequence and enter the Setpoint as 3000, Timeout as 60, and Tolerance as 100.
  6. Add clean up steps.
    1. Add a Real-Time Sequence Call into Clean Up.
    2. In the Property Browser, navigate to the Set Engine Power real-time sequence as the Filename.
    3. Under Parameters, click the OnOff pull-down and select False.
  7. Save the stimulus profile.

The stimulus profile code will look like the following image.

After creating the stimulus profile, run it.

Recently Viewed Topics