01-14-2006 09:11 AM
01-14-2006 10:08 AM
Did you actually include the VI in the build? The second tab page in the builder has an option for this and this will put the VI inside the EXE, where the RTE will look automatically.
Also, do you build the path relatively to the location of the top level VI? If you do, the Executable's name gets appended as a directory and you have to do an additional strip if you're runnning in the RTE (Application>>Kind property).
01-14-2006 10:58 AM
01-14-2006 11:14 AM
Well, part of the search algorithm for a VI includes going through the same directory (or LLB) as the top level VI, so it should have found it if you include it as a dynamic VI. Does LV says it's expecting to find it where it actually is or does it give another path (I assume not since you say it's absolute)? If so, then this sounds really wrong.
As a workaround, you could try using the OpenG builder, which has some additional functionality, but since the building part is only a wrapper for the NI AB, I don't think that will help.
Is this happening only with this VI? Does this application have other dynamic VIs which work? Can you test it on a third computer?
And last thing, just a stupid question - did you try scrapping the whole thing and starting from scratch (uninstall the RTE, create a new bld file and installer, etc.)?
01-16-2006 07:22 AM
01-16-2006 11:15 AM
hi there
are you using an <applicationname>.ini file? if so please check if there are VI search paths specified in the key "viSearchPath". if the search paths are default (the key is not contained in the file) then it should be sufficient to supply the name of the VI as a path to the Open VI reference function (see attachment).