@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:
- 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)
- 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).
- 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...