Jump to content

Queued State Machine: Difference between revisions

From LabVIEW Wiki
m Added "See Also>>State Machine"
mNo edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This is a stub article for Queued State Machine.
{{stub}}
The '''Queued State Machine (QSM)''' [[Design Patterns|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]]
== External links ==
[http://expressionflow.com/2007/10/01/labview-queued-state-machine-architecture/ LabVIEW Queued State Machine Architecture] - ExpressionFlow
[[Category:Intermediate Design Patterns]]

Latest revision as of 15:00, 20 July 2021

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