03-06-2025 10:29 AM
Hello,
I have long been contending with a bug with dynamically opened subvi windows not being responsive when opened 3 times (first two times are fine).
I attach a simple example demonstrating this bug, where "popUp.vi", when run, can dynamically open the SubVI by clicking on "Open Pop-Up":
The SubVI (popUp2.vi) is simply a button you press to close it:
The third time you go to press the "Continue With Bug Demo" button, it will be unresponsive.
Any explanation as to why this is occurring would be greatly appreciated. I have managed to get other dynamically opened subVIs to work without freezing up, I'm not sure why this one is.
Solved! Go to Solution.
03-06-2025 10:34 AM
Seems I just didn't toy around enough....
All that is required is to add an "Unregister for Events" in the subVi: