Jump to content

Queued State Machine: Difference between revisions

From LabVIEW Wiki
m cat
Added detail and links
Line 1: Line 1:
{{stub}}
{{stub}}
The Queued State Machine (QSM) design pattern is a combination of [[Producer/Consumer]], [[Event Handler]] and [[State Machine]] design patterns together.  The producer loop, called the Event Handler Loop (EHL), contains an event structure that sends messages to the consumer loop, called the State Machine Loop (SML).  A message can be enqueued by UI events or from other states in the state machine.  The QSM can also be designed to provide feedback from the SML to the EHL using User Events.
== See also ==
== See also ==
* [[State Machine]]
* [[State Machine]]

Revision as of 17:30, 3 June 2020

The Queued State Machine (QSM) design pattern is a combination of Producer/Consumer, Event Handler and State Machine design patterns together. The producer loop, called the Event Handler Loop (EHL), contains an event structure that sends messages to the consumer loop, called the State Machine Loop (SML). A message can be enqueued by UI events or from other states in the state machine. The QSM can also be designed to provide feedback from the SML to the EHL using User Events.

See also

External links

LabVIEW Queued State Machine Architecture - ExpressionFlow