LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
cancel
Showing results for 
Search instead for 
Did you mean: 

Abort all VIs Button in Taskbar (Modal Windows Problem)

There are times when I leave a VI with modal properties open and then I run the main application that also calls this VI if opened in the development environment. This locks all running windows due to the modal VI. I propose a button in the taskbar that aborts all running VIs OR perhaps a list is opened on right-click of all running VIs Smiley Happy

 

abort_all_running_vi.png

 

 

:. LV2010 SP1 ... W7 .:
23 Comments
Member

Great idea...

In the meantime you could use the LAVA Abort VI.vi written by Jim Carmody

you may find it here on

LAVA

 

br,

\c

Member

Sweet. Thanks!

:. LV2010 SP1 ... W7 .:
Example Gatekeeper

This would be a good item to place in the LabVIEW jump list for Windows 7.

DNatt, LV R&D
Member

Yea I like that! Time for NI to move forward!

:. LV2010 SP1 ... W7 .:
Trusted Enthusiast
Thank you! This drives me nuts
NI Employee

I read your post and thought "that's a good idea" and then I realized I have something like this functionality today:

 

Download this VI: http://decibel.ni.com/content/docs/DOC-2309

 

 

And then pin it to your LabVIEW icon in the taskbar like so:

 

3-7-2011 11-26-52 AM.png

 

Since this has a UI it doesn't help with modal windows (as you requested) so I rewrote another version to just abort all running VIs.  It's attached to the same document above.

 

So now I have:

 

3-7-2011 12-03-31 PM.png

 

For all my get out jail free needs.

 

Member

Awesome work! I really like that... many thanks for your post

:. LV2010 SP1 ... W7 .:
Knight of NI

I usually have this function on my top-level (or any code I may "run" while having left a dratted modal FP open)  for just such a reason

excmodals.png

Always maintain an accurate count of deployed mousetraps.
Proven Zealot

Two points:

1) The abort tools posted above do not handle clones of reentrant VIs that are free running either because of the Run VI method or because of the Async Call By Reference "Fire and Forget" mode. Clones are not listed in the "all VIs in memory" list.

 

2) There's a second idea, not quite as many kudos, but perhaps just as useful, to put an abort button on the Project Window to abort the VIs for that project only: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Abort-All-VIs-in-Project/idi-p/1818849

I happen to like this one because it is scoped to the VIs I want to abort (typically) and because it would be available on non-Windows platforms.

Member

Am I missing something? It sounds like this is a bug and NI just needs to fix it. My usual first reaction to "this must be a bug" is "I must not understand it". So, a GOOD explanation could justify this behavior.