10-27-2022 04:30 AM - edited 10-27-2022 04:32 AM
There is this annoying behavior in LabVIEW when a dialog subVI is accidentally open and you run the top VI, the dialog VI somehow locks you in and you can't do anything in LabVIEW. You can't close the dialog window, but you can't Alt+Tab to another VI. The only thing that helps is close and save all VIs open thru windows Task Bar one by one, also close the project and then a dialog pops up which says closing this will abort these VIs and you click yes and then LabVIEW unlocks.
I run through this procedure 10 times a day and going nuts for it. Any hack here?
Solved! Go to Solution.
10-27-2022 04:50 AM
I guess the sub-VI is modal. I usually set the VI to modal just when running it using a property node. You can also check Darrens tip and vote here.
10-27-2022 06:08 AM
As Thols said, the VI is most probably set to Modal. If it happens, Killemall is a useful tool. 🙂
https://forums.ni.com/t5/LabVIEW/Abort-All-Running-VIs/m-p/3678823/highlight/true#M1034110
10-27-2022 08:09 AM - edited 10-27-2022 08:10 AM
@VitSlaby wrote:
There is this annoying behavior in LabVIEW when a dialog subVI is accidentally open and you run the top VI, the dialog VI somehow locks you in and you can't do anything in LabVIEW. You can't close the dialog window, but you can't Alt+Tab to another VI. The only thing that helps is close and save all VIs open thru windows Task Bar one by one, also close the project and then a dialog pops up which says closing this will abort these VIs and you click yes and then LabVIEW unlocks.
I run through this procedure 10 times a day and going nuts for it. Any hack here?
One of my top annoyances. I have to say though, that - like the unintentional infinite loop - there's only one person to blame, and it's not my mom. Well, maybe in a roundabout way, it is, come to think of it... 😄
10-27-2022 10:00 AM
Put a shortcut to this VI on your desktop.
When something is stuck, double-click on the shortcut.
Browse the tree to find the things to kill.