Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Lossy Enqueue Element Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.

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. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit