Lossy Enqueue Element Function

Owning Palette: Queue Operations Functions

Requires: Base Development System

Adds an element to a queue. If no space is available in the queue, this function removes an element from the front of the queue and discards the element to make space. Unlike the Enqueue Element function, this function does not wait for room in the queue to become available. Use the Obtain Queue function to set the maximum size of the queue.

 Add to the block diagram  Find on the palette
queue is a reference to a queue. Use the Obtain Queue function to obtain a queue reference.
element is the element you want to add to the back of the queue. This data type changes to match the subtype of queue.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
queue out is a reference to the existing queue.
overflow element is the element LabVIEW removed from the front of the queue if the queue was full.
overflow? returns TRUE if the queue was full and LabVIEW removed an element to create space. overflow? returns FALSE if the queue accepted the element and did not remove an element to make space.
error out contains error information. This output provides standard error out functionality.