LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW is stuck when a dialog subVI is left open on top VI start

Solved!
Go to solution

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?

0 Kudos
Message 1 of 5
(1,421 Views)
Solution
Accepted by VitSlaby

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.


Certified LabVIEW Architect
Message 2 of 5
(1,405 Views)

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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 5
(1,380 Views)

@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...  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(1,353 Views)

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.

"If you weren't supposed to push it, it wouldn't be a button."
Message 5 of 5
(1,330 Views)