I have a program where I two VI will be calling the same DQMH module Start and Stop. The problem i face is when 2 DQMH module is opened from different VI and one of them are closed and reopen, the module ID doesn't increment to 3 instead it will launch with Module ID 1. This behavior is strange because the second module haven't been closed. On top of that, the module will crash when i try to close the third module. Labview should launch the third module with module ID 3 instead of 1. I've attached a prototype and all you need to reproduce the issue is this:
1. Open Acq UI.vi and run the VI (From here you will see that module ID is 1 which is correct)
2. Open Gen UI.vi and run the VI (From here you will see that module ID is 2 which is correct)
3. Stop the Acq UI.vi by clicking the stop button on the front panel
4. Run the Acq UI.vi again (From here you see that module ID is equal to 1 which is suspicious to me, this is because the Gen UI are still running at the moment. The Module ID should be 3 if things setup in the right way)
5. Stop the Acq UI.vi by clicking the stop button on the front panel. (From here you will see that the DQMH Module 1 Front panel will pop up and crash)
Environment
- Labview 2023
- DQMH Version 7.0.1.1316