Creating a Real-Time Sequence to Return a Pass/Fail Value
- Updated2025-12-15
- 2 minute(s) read
Creating a Real-Time Sequence to Return a Pass/Fail Value
Update an existing sequence to pass a Boolean return value.
- In the VeriStand Editor, click .
- Click , navigate to <Common Data>\VeriStand Projects\Engine Demo\Stimulus Profiles\Engine Demo Advanced, and double-click the Engine Demo Advanced sequence.
- Save the sequence as Engine Demo Return Value tutorial in the <Common Data>\VeriStand Projects\Engine Demo\Stimulus Profiles\Engine Demo Return Value directory.
- In the Primitives palette, expand Variables and drag Boolean to the Variables pane under Return Value to change the value from a Void Return Value.
- In the Property Browser, change the Identifier to WarmUpSucceeded.
-
From the Variables pane, drag
WarmUpSucceeded into the sequence code under
MonitorEngineTemperature, inside
Then.
If the Then section of the code executes, the return value will be false. This indicates that the warm-up task failed because the engine temperature exceeded 110 degrees.
-
Drag another WarmUpSucceeded into the sequence code
under MonitorEngineTemperature, inside
Else, and modify it in the Property
Browser to be true.
If the Else section of the code executes, the return value will be true. This indicates that the warm-up task succeeded because the engine temperature remained below 110 degrees.
- Save the real-time sequence.

Related Information
- VeriStand Directories and Aliases
VeriStand uses directories and aliases for project files, models, and custom devices.
- Creating a Stimulus Profile with Execution Behavior after Step Failure
Define the actions a stimulus profile performs to stop execution after a step fails.
