DQMH API description
Main palette
DQMH Create Message Queue
This VI creates and initializes the message queue for a QMH Module. If the message needs to be different for the given module, then create a child class of Message Queue and override the appropriate methods.
DQMH Enqueue Message
This VI is polymorphic. |
For a regular message, enqueue the message. For a priority message, enqueue it at the front of the queue.
DQMH Error Handler - MHL
Process an error that occurred in the Message Handling Loop, either by ignoring it, or generating an "Error" message.
DQMH Error Handler - EHL
Process an error that occurred in the Event Handling Loop, either by ignoring it, or generating an "Error" message.
DQMH Error Handler - Helper Loop
Process an error that occurred in a Helper Loop, either by ignoring it, or generating an "Error" message.
DQMH Scripting
Get DQMH Modules in Project
Returns library references for all detected DQMH modules in a project. Remember to close the library references when you are done using them.
Note that this VI will not return DQMH modules that are inside PPLs.
Get Event VIs in DQMH Module
Returns VI references to all event VIs in a given DQMH module, separated by event type. Remember to close the VI references when you are done using them.
Get Callers of Request VI in Project
Returns VI references to all VIs in the project that call the given request VI. Remember to close the VI references when you are done using them.
Get VIs Registered for Broadcast in Project
Returns VI references to all VIs in the project that contain an event structure registered for the broadcast event of the given broadcast VI. Remember to close the VI references when you are done using them.
Note that since this VI parses the diagrams of all VIs in the project, it may take a while to complete.