LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug with Unresponsive Popup SubVi

Solved!
Go to solution

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.

 

 

Download All
0 Kudos
Message 1 of 2
(87 Views)
Solution
Accepted by topic author Gryffin

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

 

Message 2 of 2
(86 Views)