Sequence Adapter

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

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 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.

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.


See Also

Adapter and Code Module Support for 64-bit TestStand

Adapter Configuration dialog box

CPU Affinity Mask Support for 64-bit TestStand

Mapping Parameters

Remote Execution in 32-bit TestStand and 64-bit TestStand

Sequence Adapter Configuration dialog box

Sequence Call Adapter Support for 64-bit TestStand

Sequence Call Step

WAS THIS ARTICLE HELPFUL?

Not Helpful