LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

list of vi's used

Hi... I've been asked to take a large number of vi's (approximately 600) and bring them all up from version 7.1 to version 8.2.1... To be more specific, they actually only need me to bring up that portion of those 600 vi's that actually get used in a few top level vi's... I know how to view a "vi hierarchy" to see what vi's are listed in a tree under a given top level vi but is there some way, maybe even a piece of labview code that can give me some sort of a text listing by folder path and name of which vi's I really care about... I am encountering literally hundreds of errors (Bad vi's) as I do this update from version 7.1 to version 8.2.1 but I find that many of the Bad vi's won't open correctly in version 7.1 either, meaning they were bad and have been for a long time... That almost ensures that these vi's are not being used in the current top level code we run under 7.1 because it works just fine... So I am trying to find some intelligent way of figuring out which vi's I don't care about... To summarize, if I launch a top level vi, is there some text based way of getting an output listing of which vi's (by name and folder path) are coupled to that top level vi??? Make sense??? Anyway, if anyone has any ideas, please give a holler... thanks... bob...
0 Kudos
Message 1 of 3
(2,591 Views)

The  "All VIs in Memory" property will retun a list of the names of all VI that are loaded.

Run that list to a For loop and... open a ref to a VI .... ref to property node >>>VI path .... build array in output tunnel of For loop... done.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,587 Views)
Hi Paris,

could you use a linefeed in your post once in a while?

A solution is given in one of the OpenG toolset VIs.
The tool will take a reference to another VI and will return a list of all the subVIs.

Good luck,

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 3
(2,546 Views)