DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatic dynamic registration dqmh events

Solved!
Go to solution

Hi,

 

i'm using a dqmh module to start, stop and receive error information from all dqmh modules of my application.

these are key functionalities of that module

 

1) Obtain Broadcast Events for Registration of every dqmh module of application, outside EHL

Michele___0-1733736671126.png

 

2) execute start + synch and registration of every dqmh module of application, inside EHL

Michele___2-1733736836160.png

 

3) to be registered to "error Reported" broadcast event of every dqmh module of application, inside EHL

 

Michele___3-1733737025874.png

 

4) stop all modules of application, inside MHL

Michele___4-1733737114990.png

i need to understand if there is a way to execute 1, 2, 3, 4 programmaticaly, to save wire ad readability of block diagram. i'm searching something like this: write in a txt file the list of name of dmqh modules and then execute 1-4 actions

 

i know that inside Get Module Main VI Information.vi there is static vi reference of main.vi

Michele___5-1733737330672.png

 

that prevent me to have issue during build executable (included file....). if there is a solution for the programmatic management of all modules, is it possible to keep this feature?

 

thank you for the support 

 

best regards

 

Michele

Message 1 of 2
(1,023 Views)
Solution
Accepted by topic author Michele__

You should have a look at the HSE Application Template where modules are called dynamically via a config file.

Message 2 of 2
(1,010 Views)