Official DQMH Best Practices:
https://delacor.com/dqmh-documentation/dqmh-best-practices/
Main.vi
is the only element on the root level of the module .lvlib. All other VIs and files reside in subfolders (see below)Null Broadcast Events–constant.vi
for preparing the event data type when creating the event registration reference. Then use either the Start Module.vi
or the Obtain Broadcast References for Registration.vi
for actually registering the real, life references at runtime. /SubVIs
folder and create further subfolders inside /SubVIs/
as needed
/Private/SubVIs/
virtual folder for any files that don't fit the following/Private
/Public API
virtual folderSynchronize Caller Events.vi
Synchronize Caller Events.vi
inside the “Initialize” MHL case. If that code takes too long to execute, the module initialisation will time out and the Start Module.vi will throw error 403683 (“Module was unable to synchronise events”).See Starting DQMH Modules - Implications for more details and background information on why placing code outside or before EHL/MHL/HL might lead to timeouts.
See Starting Child Modules for more details and variations of starting modules.
DQMH 7.0 introduces support for Helper Loop scripting, which makes the manual creation obsolete.
Stop Module
event and does the repetitive operation inside its timeout case.
#DQMH Code Recommended
comments once the code has been added (or if no code is to be added)
The HSE Way of Working:
A set of guidelines that recommend programming style, better practices, and methods for all our LabVIEW projects. We ask all our peers to follow these guidelines to help improve the readability of our shared source code and make software maintenance easier.
Contributors for this page: #teamhampelsoft, Darren Nattinger