Solution
A queue is a buffered list that maintains a first in/first out (FIFO) order of data items. A queue in LabVIEW can be used when communicating between processes within a program. You can create a queue using
Queue Operations VIs n LabVIEW.
A common example of using a queue is in
producer/consumer situations, where one portion of code is creating (or producing) data to be processed (or consumed) by another portion. The advantage of using a queue is that the producer and consumer will run as parallel processes and their rates do not have to be identical.
Figure 1: The VIs on the Queue palette (
Programming » Synchronization » Queue Operations)