Properties Tab

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Synchronization Panel

The Synchronization panel specifies a synchronization action TestStand performs around the execution of the step. You can specify if a lock protects the execution of the step or if the step synchronizes with other steps in a batch execution.

The Synchronization panel contains the following options:

  • Use Lock to Allow Only One Thread at a Time to Execute the Step—When you enable this option, the step acquires a lock before it executes and releases the lock after it completes.
  • Lock Name or Reference Expression—The lock the step acquires and releases. Enter a string expression to specify the name of an existing lock. You can also enter an expression that evaluates to an object reference to an existing Lock object. Leave the control empty to specify if TestStand uses a lock unique to the step.
  • Batch Synchronization—The batch synchronization operation the step enters before it executes and exits after it completes.
    • No synchronization—Steps do not use batch synchronization.
    • One thread only (first thread executes step, remaining threads skip)—Only one thread in the batch executes a step. When that thread executes the step, all remaining threads in the batch skip the step. The threads in the batch then continue together.
    • Parallel (all threads enter simultaneously)—TestStand releases all the threads simultaneously when all threads in the batch arrive at their respective instances of a step. Each thread blocks after executing the step until all threads continue together.
    • Serial (one thread at a time)—Steps use a Serial section to ensure that each thread in the batch executes each step sequentially and in the order you specify when you create the batch with the Batch Specification step type. When all threads in a batch arrive at a step, TestStand releases one thread at a time in ascending order. As each thread executes the step, the next thread in the batch executes the step. After all threads in the batch execute the step, they continue to the next step.
    • Use model setting—Steps use the batch synchronization setting in the Sequence File Properties dialog box for the process model. New sequences specify this setting by default.
    • Use sequence file setting—Steps use the batch synchronization setting the Sequence File Properties dialog box defines for the sequence file the step is in.

See Also

Sequence File Properties dialog box

Synchronization Step Types


Not Helpful