LabVIEW Queued State Machine Architecture
Summary
The Queued State Machine -Producer Consumer architecture; abbreviated in this article as QSM –PC, is one essential architecture that significantly facilitates programming mid-sized to advanced LabVIEW –based projects that constitute 100 or more VIs. A common application for the QSM -PC architecture is in programming LabVIEW’s event structure to send commands for asynchronous processing in a parallel loop so that event cases can exit code execution quickly and avoid GUI lockup. Another application is in multiple parallel VI programming such as in parallel data acquisition, alarm monitoring, and results analysis, where this method empowers any parallel VI to send and receive commands and data across other parallel VIs with no data loss.
In light of the intermediate to advanced nature of the objects that make up the QSM –PC architecture, taking full advantage of this template requires detailed knowledge of the ‘why’ and ‘how’ of its various characteristic design aspects. This article defines, illustrates, and describes at length the various elements of the QSM –PC architecture and includes a LabVIEW example of this implementation with detailed narrative comments.

(31 votes, average: 4.65 out of 5)