Returns information about the current state of a queue, such as the number of elements currently in the queue.
Using this node in parallel code may result in race conditions. To avoid race conditions, use this node only for monitoring and not for controlling code.
A reference to a queue.
Error conditions that occur before this node runs. Unlike most nodes, this node runs normally even if an error occurs before this node runs.
Default: no error
The maximum number of elements the queue can contain.
If max queue size is -1, the queue can contain an unlimited number of elements.
The name of the queue, if the queue is named.
Reference to the queue.
The number of Dequeue Element or Preview Queue Element nodes currently waiting to remove an element from the queue.
The number of Enqueue Element or Enqueue Element at Opposite End nodes currently waiting to insert an element in the queue.
If the maximum queue size is -1, this output returns 0.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Current number of elements in the queue.
You can use Get Queue Status to verify that a queue reference is valid. If a queue reference is not valid, this node returns error code 1.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Supported in VIs that run in a web application