Queue Step Configuration Dialog Box

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Get Status Operation

Use the Get Status operation to obtain information about the current state of a queue.

The Get Status operation contains the following options:

  • Queue Name or Reference Expression—The queue on which to perform the operation. You can specify the queue by name or by the object reference you receive when you create the queue using the Use Object Reference for the Queue Reference Lifetime option.
  • Queue Exists? (optional output)—A location to store a Boolean value that indicates whether the Synchronization object exists.
  • Number of Threads Waiting to Enqueue (optional output)—The location for storing the number of threads waiting to enqueue data.
  • Number of Threads Waiting to Dequeue (optional output)—The location for storing the number of threads waiting to dequeue data.
  • Maximum Number of Elements (optional output)—The location for storing the maximum number of elements of the queue.
  • Number of Elements (optional output)—The location for storing the number of elements in the queue.
  • Location to Store Array of Queue Elements (optional output)—An array property in which to store the elements of the queue. If you specify an array property in this control, all queue elements must be of the same data type as the array you specify, and no queue element can be an array. The step reports a run-time error if you specify a value in this control and the queue items do not meet these conditions.

WAS THIS ARTICLE HELPFUL?

Not Helpful