kb:labview-frameworks:dqmh:starting-modules
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kb:labview-frameworks:dqmh:starting-modules [2025/11/10 11:06] – [Startup Parameters] joerg.hampel | kb:labview-frameworks:dqmh:starting-modules [2026/07/13 16:15] (current) – [When to start] joerg.hampel | ||
|---|---|---|---|
| Line 163: | Line 163: | ||
| ===== Starting Child Modules ===== | ===== Starting Child Modules ===== | ||
| - | Make sure to also browse our [[kb: | + | This section describes ways of starting child modules. It lists different options and explains shortcomings/ |
| + | |||
| + | - From a Simple VI | ||
| + | - At Module Start | ||
| + | - In the EHL | ||
| + | - In the MHL, forking the event reference wire | ||
| + | - In the MHL, using a private request | ||
| + | |||
| + | <WRAP center round alert 100%> | ||
| + | At HSE, //the only allowed way// is **[[# | ||
| + | </ | ||
| + | |||
| ==== 1. From a Simple VI ===== | ==== 1. From a Simple VI ===== | ||
| Line 204: | Line 216: | ||
| * Forking the registration reference wire so we can update the event registration of the EHL in the MHL | * Forking the registration reference wire so we can update the event registration of the EHL in the MHL | ||
| * <color /# | * <color /# | ||
| + | * See the [[kb: | ||
| <WRAP center round box 100%> | <WRAP center round box 100%> | ||
| Line 225: | Line 238: | ||
| ===== Startup Parameters ===== | ===== Startup Parameters ===== | ||
| - | You can pass in parameters directly when starting a DQMH module. This is done by adding controls to the connector pane of '' | + | You can pass in parameters directly when starting a DQMH module. This is done by adding controls to the connector pane of '' |
| {{: | {{: | ||
| Line 236: | Line 249: | ||
| The second argument is not a strong one, as a user can still provide a " | The second argument is not a strong one, as a user can still provide a " | ||
| - | HSE's rule of thumb is to always pass parameters via requests unless there is a strong argument for hard-wiring them like this. | + | <WRAP center round help 100%> |
| + | HSE's rule of thumb is to always pass parameters via requests unless there is a strong argument for hard-wiring them like this. We feel it's safer to go with the standard way of doing things (ie requests) as this will make it easier for others to read the code. Also, passing parameters via request gives control over when to send or resend that data. | ||
| + | </ | ||
| + | |||
| Line 246: | Line 261: | ||
| The concept of placing the code for starting modules inside EHL/MHL and having a request or Queue message trigger the starting of child modules gives control and flexibility over when and from where modules are actually (re)started. It does beg the question, though, of where and when to actually send the request or message triggering the start. | The concept of placing the code for starting modules inside EHL/MHL and having a request or Queue message trigger the starting of child modules gives control and flexibility over when and from where modules are actually (re)started. It does beg the question, though, of where and when to actually send the request or message triggering the start. | ||
| - | | + | <WRAP left round help 100%> |
| - | + | See **[[kb:bestpractices:codingconventions:apptemplate# | |
| - | * Our [[code:dqmh:hse-application-template|HSE Application Template]] | + | </ |
| ---- | ---- | ||
kb/labview-frameworks/dqmh/starting-modules.1762772797.txt.gz · Last modified: 2025/11/10 11:06 by joerg.hampel