Queued State Machine

From LabVIEW Wiki
Jump to: navigation, search

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