04-16-2009 05:03 PM
Solved! Go to Solution.
04-16-2009 05:10 PM
Use the names to open references to the VIs, and from them get the paths.
04-16-2009 05:13 PM
04-16-2009 05:15 PM
04-16-2009 05:19 PM
04-16-2009 05:47 PM
On the first (top-level) VI, you use the path to get a reference.
Thereafter, use the name string (not a string cast into a path) of a VI to open its reference. Just wire the string directly into the "vi path" input of the Open Reference. Use that reference to get the path if you want it, but you actually don't need a path to get a reference to a VI (except for the top-level)
You do not need to use recursive calls to do this; just a while loop.
I have to run or I would try to write it for you. Good Luck.
04-16-2009 05:58 PM
OK, that fixed it so that the recursive calls would drill all the way down the tree. Now I get the full list of VI dependency VI names, but I still need the paths as the output. What I'm doing is FTPing the VI and its dependencies to an RT target (the VI server didn't do this for me because I'm not deploying the VI -- it's loading at runtime).
04-16-2009 09:38 PM
I may not be understanding you properly, or I may be missing something. But you are opening VI references to every VI in the Callees chain, right? So you can get the VI Path from a property node.
If you can post what your code looks like now then I can try to see if I am missing somthing.
04-21-2009 01:22 PM
Finally got back to this. Yes, using the VI Path prop node worked. FYI here's the complete VI.
Thanks for your help!
08-25-2016 04:28 PM
Stumbled across this and it was exactly what I needed, thanks!