Removes an element from the front of a queue and returns the element.
If the queue is empty, the node waits timeout in milliseconds before timing out. If an element becomes available in the queue during the wait, the node removes and returns the element and timed out? is FALSE.
queue
Reference to a queue. Use Obtain Queue to obtain a queue reference.
timeout in milliseconds
The time, in milliseconds, that the node waits for an element to become available in the queue if the queue is empty.
If the node waits the specified amount of time and the queue remains empty, timed out? is TRUE.
Default: -1 — Specifies the node never times out.
error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default: no error
queue out
Reference to the queue unchanged.
element
The element at the front of the queue. This data type changes to match the subtype of queue.
timed out?
A Boolean that indicates whether an element did not become available in the queue before the node timed out or if an error occurred.
TRUE |
An element did not become available before the node timed out. Also returns TRUE if an error occurred. |
FALSE |
An element did become available before the node timed out. |
Installed By: LabVIEW Communications System Design Suite (introduced in 1.0)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported