Flush Queue Function

Owning Palette: Queue Operations Functions

Requires: Base Development System

Removes all elements from a queue and returns the elements as an array.

This function does not release the queue reference. Use the Release Queue function to release the reference.

 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.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
queue out returns the reference to the queue unchanged.
remaining elements is an array of elements removed from the queue. The first element in the array is the element from the front of the queue and the last element in the array is the element from the back of the queue.

This data type changes to match the subtype of queue.
error out contains error information. This output provides standard error out functionality.