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":
Gryffin_0-1741278267817.png
Gryffin_4-1741278392205.png
The SubVI (popUp2.vi) is simply a button you press to close it:
Gryffin_2-1741278362137.png
Gryffin_3-1741278377565.png
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:
Gryffin_0-1741278848209.png
03-12-2025 03:33 AM
There's also no need to do a dynamic registration for a button, but maybe you're just testing things out.