05-11-2005 12:33 PM
05-12-2005 09:17 PM
05-10-2007 04:52 PM
Just a comment for those adding a "viSearchPath" to an executable ini file:
If you have a VI which you are calling from an executable, which has sub-vi's in another directory, specifying the sub-vi's directory in the exe ini file works most of the time BUT NOT ALL. I had a situation where I had a directory for the VI I was dynamically calling, and a directory for some of it's sub-vi's. I specified the sub-vi's directory as a search path which should work fine, but does not in all cases. It can break if the sub-vi has a sub-vi that is back in the directory of the top level VI. This confused me for a while but found a solution. Just add the following as additional search paths: "<topvi>:\*;<foundvi>:\". I wanted to share this is it is probably good practice to include these search paths in an exe ini file.
e.g.
viSearchPath="<topvi>:\*;<foundvi>:\;C:\Test Program\*"
09-30-2010 11:16 AM - edited 09-30-2010 11:17 AM
It's not working on my system: the application builder just builds the application with the copy of the referenced VI, and does not perfor the call dynamically.
Am I missing something?
Is there a tutorial on dynamic VI calls? I'm not able to find a "getting started" guide on this subject...
Thanks