DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Module registrations / start up sequence

Solved!
Go to solution

@SC_boy wrote:

Jörg, I'm attempting to be more controlled when starting my child modules

[...]

I think it is working but wanted to ask here if there's something I'm overlooking with how the DQMH modules start and are synchronized.


It does look good to me. Just to reiterate:

 

  1. All clones of a Cloneable module share the same event references, so it's correct to register only once (not for each clone being started - although that would not break anything either, it's just not necessary)
  2. All the clones will start an instance of Main.vi and then wait for the sync. If starting takes a bit of time and you start many clones, you might run into synchronization problems (Error 403683: Module was unable to synchronize events). 
    1. Example: If starting a module (run Main.vi until the Initialise MHL case) takes 100 ms, and you start more than 50 clones, you will run into the 5000ms default timeout value of DQMH...



DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )


Message 21 of 22
(87 Views)

Make your boolean nodes on your for loops indexed arrays, because the way you have wired them, they will only use the last value of the boolean array... 

Only the first Start Module will return true, the rest should return false.

 

 

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
Message 22 of 22
(31 Views)