code:dqmh:hse-application-template:startupvi
Table of Contents
20 Startup VI
The startup.vi (found in the root of the SOURCE folder) takes care of
-
showing a splash screen
-
initialising various HSE-specific framework and config objects
-
starting the HSE-Logger
-
starting the Event Manager and UI Manager framework modules
-
starting the modules as configured in the config.ini file (dynamically)
-
registering the Event Manager and UI Manager dynamically for the modules' broadcast events
-
setting and dynamically populating a run-time menu
-
showing the UI
-
stopping modules and shutting down the whole application
Dynamic Loading of Modules
The following screen shots document the process of registering dynamically for the project-specific modules' default broadcasts chronologically. This should help you walk through the code and understand the mechanism. See this NI Forums thread for a few more details.
Read Configuration
Load Modules Dynamically
startup.vi
startup.vi:DQMH Load Module.vi
<SomeModule>.lvlib:Load Module.vi
(specific to HSE DQMH Flavour)
Register Broadcasts Dynamically
code/dqmh/hse-application-template/startupvi.txt · Last modified: 2022/07/08 16:04 by joerg.hampel