Queued Message Handler

From LabVIEW Wiki
Jump to: navigation, search

The Queued Message Handler (QMH) design pattern is a combination of producer/consumer, and event handler architectures together.  The producer loop, called the Event Handler Loop (EHL), contains an event structure that sends messages to the consumer loop, called the Message Handler Loop (MHL). The MHL receives and processes the messages. A message is enqueued when a UI event is triggered. The QMH can also be designed to provide feedback from the consumer to the producer using User Events.[1]

Queued Message Handler (QMH) with one Event Handler Loop (EHL) and one Message Handler Loop (MHL)

Use Cases

Add yours here

References

  1. "Queued Message Handler Template" by National Instruments (http://www.ni.com/tutorial/53391/en/)