Batch Synchronization Step

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 a Batch Synchronization step to define a section of a sequence in which to synchronize multiple threads that belong to one batch.

Place Batch Synchronization steps around test steps to create a synchronized section. Use the Synchronization panel on the Properties tab of the Step Settings pane to synchronize a single step for the multiple threads that belong to a batch. Typically, you use Batch Synchronization steps in a sequence you execute using the Batch process model.

Configuring the Step

Use the Batch Synchronization Settings edit tab in the TestStand Sequence Editor and the Batch Synchronization Step Configuration dialog box in a TestStand User Interface to configure the Batch Synchronization step.

Step Properties

In addition to the common custom properties, the Batch Synchronization step type defines the following step properties:

  • Step.Result.TimeoutOccurred—Exists only when you configure the step for the Enter or Exit operation. TestStand sets the value to True when the Enter or Exit operation times out.
    Note Note  If you configure the step to use the Enter or Exit operation programmatically using the Step.Operation property, you must also create the Step.Result.TimeoutOccurred property using the newProperty() method for the step to execute successfully.
  • Step.TimeoutEnabled—The Timeout Enabled setting for the Enter or Exit operation.
  • Step.TimeoutExpr—The Timeout expression, in seconds, for the Enter or Exit operation.
  • Step.ErrorOnTimeout—The Timeout Causes Run-Time Error setting for the Enter or Exit operation.
  • Step.Operation—A value that specifies the operation for the step to perform. The valid values are 0 = Enter Synchronized Section and 1 = Exit Synchronized Section.
  • Step.SectionNameExpr—The expression that specifies the section name for the Enter or Exit operation.
  • Step.SectionType—A value that specifies the type of section the Enter operation defines. The valid values are 1 = Serial, 2 = Parallel, and 3 = One Thread Only.

See Also

Synchronization Step Types

WAS THIS ARTICLE HELPFUL?

Not Helpful