Open DQMH Request Message Diagram
Table of Contents
Adds a Right-Click Shortcut and a Quick Drop Ctrl-Key Shortcut (CTRL-K by default) to DQMH Module Request or Request and Wait for Reply or Round Trip Broadcast methods on the block diagram allowing the developer to quickly open the Message Diagram of the Message Handling Loop within the DQMH Module Main VI.
When writing code using DQMH Framework, you communicate with actors (DQMH Modules) by sending asynchronous or synchronous messages. Each DQMH Module has a set of methods, Public API VIs which are what you see on the block diagram, which collect the inputs for the message and transport it using LabVIEW user events. The actual logic that executes when the message is received resides in a Message Handling Loop (MHL) of the DQMH Module Main VI, which reads the message causes the corresponding subdiagram of the Case structure to execute. This subdiagram is called a “message diagram” because it corresponds to a message.
During the development process it can be convinient for developpers to quickly access to the “message diagram” from the public method they use somewhere else. This LabVIEW IDE plugin retrievs selected subVIs on a diagram and if they are a part a the Public API VI of a DQMH opens the Main VI block diagram with the “message diagram” handling the message visible. Developpers have direct access to the business logic of the Request.
- Download the Open DQMH Request Message Diagram.vip.
- Use VIPM to install it on your LabVIEW version (2020+).
How to use it?
- From a VI Block Diagram
- Right-click on a user DQMH Request and select
- Open DQMH Request Message Diagram: this will open the Message Diagram of the Message Handling Loop within the DQMH Module Main VI
- Launch the QuickDrop (Ctl+Space) and press
- Ctl+k: this will open the Message Diagram of the Message Handling Loop within the DQMH Module Main VI
LabVIEW Shortcut Menu Plug-ins
To know more about LabVIEW Shortcut Menu Plug-ins: Click here