Synchronization Step Types - Batch Synchronization

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Purpose

This example demonstrates the Batch Synchronization step types and step settings available when you use the Batch process model. Use Batch synchronization to coordinate test operations among all test sockets in a batch and and to execute test steps selectively, concurrently, or sequentially.

Example File Location


Open Example

<TestStand Public>\Examples\Built-In Step Types\Synchronization Step Types\Synchronization Step Types - Batch Synchronization.seq

Highlighted Features

Major API

None

Prerequisites

None

How to Use This Example

Complete the following steps to review the sequences and steps in the example.

  1. On the Sequences pane, select the MainSequence. The MainSequence contains four Sequence Call steps that correspond to the different approaches demonstrated in this example. When executed, the Batch process model executes four instances of this sequence, referred to as sockets 0 through 3.
  2. On the Sequences pane, select the Voltage Tests sequence. This sequence uses the Batch Synchronization step settings to synchronize execution of individual steps. Observe that the two Apply Voltage Stimulus steps enable the One thread only option on the Synchronization pane of the step settings, indicating that only a single test socket execute these steps during execution. The two Voltage Response steps enable the Parallel option on the Synchronization pane of the step settings, indicating that all test sockets execute these steps concurrently.
  3. On the Sequences pane, select the Temperature Tests sequence. This sequence uses the Batch Synchronization step type to define a block of steps that execute serially, meaning that only one socket executes each test at a time but that all sockets execute both test steps. Execution does not continue beyond the Batch Synchronization block until all sockets have completed the block.
  4. On the Sequences pane, select the Stress Tests sequence. This sequence uses the Batch Synchronization step type to define blocks of steps that execute in parallel. For each block, all test sockets concurrently execute the test steps. Execution does not continue beyond the block until all sockets have completed all test steps within the block.
  5. On the Sequences pane, select the Current Tests sequence. The steps in this sequence do not have any Batch Synchronization settings applied, meaning that each test socket executes these steps as soon as the execution reaches this sequence. It is not necessary to specify Batch Synchronization settings for every step in a sequence file using the Batch process model.

Complete the following steps to run the example.

  1. Select Execute»Single Pass to run the sequence.
  2. As the test sequence executes, dialog boxes indicate the current status of the tests. Notice that the tests execute concurrently, serially, or only on a single socket according to the Batch Synchronization settings for each step.

WAS THIS ARTICLE HELPFUL?

Not Helpful