LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I list all the higher Level VIs a SubVI is used in

I am in the process of cleaning up my LabView directories.
Problem is I want to be sure I don't delete a SUB VI that still used somewhere.
Does any body know of away to get a list of all the higher level VIs, a subvi is used in.
0 Kudos
Message 1 of 6
(3,131 Views)
You can easily do two things. First you can open the subvi and always goto browse>> This Vi's Callers. The second way is to use the find option. Open the top level vi and use the shortcut ctrl-f. This will bring up the find option. You can then search for text or for subvi's and other items. When the search completed you will have a list of all uses of the subvi. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 6
(3,131 Views)
Thanks for the help!!!
But this only shows the instances within the top level vi that is loaded.

What I need is something that can list all of the top level VIs that use the Sub VI.

Example "GPIB Read" List all the VI's in all directories that use this "Sub VI".
0 Kudos
Message 3 of 6
(3,131 Views)
There is no utitlity that can list all the vi's that can call a sub-vi. Your best bet is to move the suspected unused vi's into a temp directory. After opening all other vi's, you can tell if any of the suspected vi's are needed, then delete the ones that aren't ever called.
- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 6
(3,131 Views)
Thanks for the help;
Yes that is the only way I have been able to think of as well.
I am hoping that sombody out there might be able to come up with a way to build an application that would somehow search all VI's to see if they use a sub vi.

I have over 800+ VIs and Sub VIs to go through..
Oh well that'll teach me to clean up a little more often than once every three years or so...
0 Kudos
Message 5 of 6
(3,131 Views)
Hi,
One way to make sure you dont delete a wanted VI is go to the main vi,file save with options and create a lib and save it now you can delete all your vis ,u will have all you wanted VIs in a LIB file.Hope it helps
vicky
0 Kudos
Message 6 of 6
(3,131 Views)