08-27-2010 12:06 PM
I am using the current vi path function in a subvi that is saved in folder A. My main program is saved in folder B, and it calls that subvi. When the subvi is called, the current vi path function output the location for folder A (where the subvi is stored), but I want the location of where the main program that calls the subvi is to show instead (folder B). How do I do that?
Yik
08-27-2010 12:13 PM
You Can get a vi's caller either using the call chain of vi propertie callee. These will return an array of VI names as the call chain. Open a reference to the caller and us vi path property, this is the path of the caller.
08-27-2010 12:19 PM