Module Elements
Follow these guidelines when working with a DQMH library to ensure full compatibility with the DQMH Scripting Tools:
-
Do not rename or remove any DQMH-specific files within the module .lvlib.
-
Do not move any DQMH-specific files on disk. All VIs and typedefs that are part of the template DQMH code should remain in a flat folder structure along with the DQMH module .lvlib, with the exception of various sub-libraries (Clone Registration and VI Reference Management, for example), which should remain in their own subfolders without modification.
-
Do not move any DQMH-specific files within the module .lvlib in the LabVIEW project window. The existing virtual folder structure within the module .lvlib is required in order for the DQMH scripting tools to work properly. You can create your own virtual folders within the module library in which to store VIs and typedefs related to the business logic of your module.
Minimum Requirements for Scripting Tools
The DQMH scripting tools require several elements to be present in order for an .lvlib to be properly identified as a DQMH Module. Those elements are:
-
Public API > Requests folder
-
Public API > Arguments > Request folder
-
Public API > Arguments > Broadcast folder
-
Broadcasts folder
-
Obtain Broadcast Events.vi
-
Destroy Broadcast Events.vi
-
Obtain Request Events.vi
-
Destroy Request Events.vi
-
Request Events-–cluster.ctl
-
Broadcast Events-–cluster.ctl
-
Module Timeout-–constant.vi
-
Module Name-–constant.vi
-
Status Updated.vi
-
Module Not Running-–error.vi
-
Multiple Instances folder (Cloneable modules only)
If any of the items in this list have been moved, removed, or renamed, the DQMH scripting tools will not identify the library as a DQMH module and you will not be able to use those tools.