Open a queue for reading and writing data elements. Use this function to create a new queue or open an existing queue. Use queues for sending data from one task to another or for other buffering operations.
The name of the queue.
The mode of the queue open:
0 - Open existing queue.
1 - Create new queue.
2 - Attempts to open an existing queue. If the queue does not exist, it will create it.
The queue handle, or -1 if the queue cannot be opened. The queue handle identifies the table where all data on the associated queue is stored.
QueClose, QueLength, QueRead, QueWrite, QuePeek
! Create a queue.
! Write data into the queue.
! Read back data from the queue.