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.


icon

Inputs/Outputs

  • cqueuern.png queue

    queue is a reference to a queue.

    Use the Obtain Queue function to obtain a queue reference.
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iqueuern.png queue out

    queue out returns the reference to the queue unchanged.

  • i1dstr.png remaining elements

    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.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.