First you should try to implement a clean way to stop all running VIs.
Something like
a notifier or a global variable that tells to running VIs that they must
stop immediately
I have an utility on my LabVIEW page "Loop Utility" that does this. You put
this VI in
any while loop and it will stop the loop when one node requests a global
stop. See
the example at http://cybertechs.qc.ca/~jpdrolet/labview
Second you can write a VI using the VI Server to look for VIs in memory (or
from a
predefined name list) and programmatically abort those running Top Level.
Good luck
Jean-Pierre Drolet
Scientech R&D
"Oliver Friedrich"
a écrit dans le
message news: 3ad2fcd4@newsgroups.ni.com...
> Hallo community,
>
> I'm writing a bigge
r LV application with lots of running VIs in the
> background, open VI references, open Notifiers, parent and child
windows...
> Debugging this application is a little bit annoying. How can I make the
> whole shebang abort, close, finish with just a button push, when I see
that
> I#m heading toward the next big crash...
> At the moment, the worst case is to close LV with the NT TaskManager,
> sometimes even rebooting the machine (time-consuming), cause it's crashing
> really thoroughly and impressive ;-))
>
> Any ideas for a global kill ?
>
> Oli
>
>