Table Of Contents

Obtain Queue (G Dataflow)

Last Modified: January 9, 2017

Returns a reference to a queue.

Use this reference when calling other nodes that perform queue operations.

connector_pane_image
datatype_icon

max queue size

The maximum number of elements you want the queue to hold.

If a queue with the same name exists, LabVIEW ignores this input and uses the size from the existing queue.

Default: -1 — Specifies that the queue can hold an unlimited number of elements.

datatype_icon

name

The name of the queue that you want to obtain or create.

Default: Empty string — Creates an unnamed queue.

datatype_icon

element data type

The type of data that you want the queue to contain.

You can wire any data type to this input.

datatype_icon

create if not found?

A Boolean that specifies whether you want to create a new queue if one with the same name as name does not exist.

TRUE Creates a queue if one with the same name does not exist.
FALSE Does not create a queue if one with the same name does not exist.

Default: TRUE

datatype_icon

error in

Error conditions that occur before this node runs.

This node runs normally even if an error occurred before this node runs. Otherwise, the node responds to this input according to standard error behavior.

datatype_icon

queue out

A reference to the existing queue or the new queue created by this node.

datatype_icon

created new?

A Boolean that indicates whether LabVIEW created a new queue.

TRUE LabVIEW created a new queue.
FALSE LabVIEW did not create a new queue.
datatype_icon

error out

Error information. The node produces this output according to standard error behavior.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported


Recently Viewed Topics