Sequence Adapter
- Updated2025-03-28
- 2 minute(s) read
Sequence Adapter
When you specify a module for a step, the TestStand Sequence Editor displays the Sequence Module tab and TestStand User Interfaces launch the Edit Sequence Call dialog box.
You can use the Sequence Adapter for a step type that can use any module adapter. Using the Sequence Adapter this way is similar to using the built-in Sequence Call step type, except that the Sequence Call step sets the step status to Passed instead of Done when no failure or error occurs.
After the Sequence Call step executes, the Sequence Adapter can set the step status. If no run-time error occurs, the adapter does not set the step status, which is Done or Passed, depending on the type of step. If the sequence the step calls fails, the adapter sets the step status to Failed. If a run-time error occurs in the sequence, the adapter sets the step status to Error and sets the Result.Error.Occurred property to True. The adapter also sets the Result.Error.Code and Result.Error.Msg properties to the values of these same properties in the subsequence step that generated the run-time error.
Use the Variables pane in the Sequence File window to define parameters for a sequence, including the parameter name, the TestStand data type of the parameter, the default value of the parameter, and whether to pass the argument by value or by reference. You can specify a literal value, pass a variable or property by reference or by value, or use the default value the subsequence defines for the parameter.
Related Information
- Sequence Call Step
- Adapter and Code Module Support for 64-bit TestStand
- Sequence Adapter Configuration Dialog Box
- CPU Affinity Mask Support for 64-bit TestStand
- Module Adapter Parameter Mapping Guidelines
- Remote Execution in 32-bit TestStand and 64-bit TestStand
- Sequence Call Adapter Support for 64-bit TestStand