|Download Help (Windows Only)|
Use the Sequence Adapter to pass parameters when you make a call to a subsequence. You can call a subsequence in the current sequence file, in another sequence file, or a sequence file on a remote system. You can also make recursive sequence calls and call sequences asynchronously in a new thread or a new execution. Use the Sequence Adapter Configuration dialog box to configure the Sequence Adapter.
|Note By default, the Sequence Adapter does not appear in the Adapter ring control. You can enable the Sequence Adapter by launching the Adapter Configuration dialog box and removing the checkmark from the option in the Hidden column. Alternatively, you can use a Sequence Call step.|
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.