Executing Sequences in Parallel

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

Purpose

This example demonstrates how to launch a parallel, independent sequence execution with a Sequence Call step in conjunction with a Wait step so that the execution results of the primary sequence are combined with the execution results of the subsequence.

Alternatively, you can run the subsequence in the same execution as the primary sequence. Review the report TestStand generates after either scenario to see the difference in where the results are collected for the Sequence Call steps.

Example File Location


Open Example

<TestStand Public>\Examples\Parallel Testing\Executing Sequences In Parallel\Executing Sequences In Parallel.seq

Highlighted Features

Major API

None

Prerequisites

None

How to Use This Example

Complete the following steps to use this example.

  1. On the Steps pane, select the Parallel Call step, which is a Sequence Call step.
  2. On the Step Settings pane, click the Sequence Call Module tab. The Execution Options ring control specifies the Use New Execution option.
  3. On the Steps pane, select the Sequential Call step, which is a Sequence Call step.
  4. On the Step Settings pane, click the Sequence Call Module tab. The Execution Options ring control specifies the None option.
  5. On the Steps pane, select the Wait step.
  6. On the Step Settings pane, click the Wait Settings edit tab. The Specify by Sequence Call option specifies that the step waits for the Parallel Call sequence call to finish executing.
  7. Select Execute»Single Pass to run the sequence.
  8. Review the information in the dialog box that launches, and click the Run DemoSequence in New Execution button. A dialog box launches for each execution simultaneously. You may have to move or click OK in each dialog box to see the others.
  9. Click OK in each dialog box.
  10. Review the report. The results for the Message Popup step from the DemoSequence appears after the Wait step.
  11. Select Execute»Restart to restart the MainSequence execution.
  12. Review the information in the dialog box that launches, and click the Run DemoSequence Sequentially button. Now, only one dialog box launches at a time.
  13. Click OK in each dialog box, and review the report. The Message Popup step from the DemoSequence now appears after the Message Popup 2 step.

WAS THIS ARTICLE HELPFUL?

Not Helpful