Queue Step Configuration Dialog Box

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Create Operation

To create a reference to a new or existing Queue object, insert a Queue step and select Configure Queue from the context menu for the step.

The Create operation contains the following options:

  • Queue Name Expression—A unique name for the Synchronization object using a literal string or an expression that evaluates to a string. You can use the name attribute of synchronization objects to perform synchronization operations between executions within a single process or between separate processes and computers.
  • Already Exists? (optional output)—The location for storing a Boolean value that indicates whether the Synchronization object already exists.
  • Queue Reference Lifetime—A lifetime for the reference to the Synchronization object.
    • Same as Sequence—Releases the object reference after the sequence executes.
    • Same as Thread—Releases the object reference after the thread completes.
    • Same as Execution—Releases the object reference after the execution completes.
    • Use Object Reference—Use this option when you want to explicitly control the lifetime of the object reference or when you want to refer to the object using an object reference variable.
  • Maximum Number of Elements—The maximum number of items the queue can store. A value less than or equal to zero specifies that the queue does not have a maximum number of elements. If you know the queue already exists, you may leave this setting blank. If you specify value different than the maximum number of elements for the existing queue, the step reports a run-time error.

WAS THIS ARTICLE HELPFUL?

Not Helpful