06-12-2007 05:56 AM - edited 06-12-2007 05:56 AM
Message Edited by PaulMc on 06-12-2007 06:00 AM
06-12-2007 06:11 AM
Paul,
What teststand version are you using?
Ray
06-12-2007 06:13 AM
06-12-2007 06:28 AM
Hi Paul,
As a work around, can you have the dll either start in the data folder rather than the source vi's then at least the links will be the same as the deployed system.
Ray.
06-12-2007 09:37 AM
I've ended up creating a global in labview, with the filepath of the dll stored. Then using that global to all my dll calls for the filepath location.
I will just have to manually add the dll to the destination computer.
06-12-2007 10:16 AM
06-13-2007 02:24 AM
Using labview 8.2.1
the path is specified absolute, labview will not allow any other way for dll calls.
Whats happens is that in the dll configuration panel, origianl file path for the dll
c:\source\code\directory\dllfinename.dll - ( original file name and location).
The vi's using the dll are then used with Teststand for the test sequencing. When using the deployment tool with Teststand the links are not changed, even in the image folder.
Teststand makes a copy of the dll into the data directory, where it puts other dll's it uses for the build and program e.g. lvsounds.dll and lvanlys.dll it seems to have no trouble updating to these dlls and even one of my own thats used for something else within the program, the links are updated. So if it does it for one why not another dll??
I would expect the dll filepath to have been updated in the labview code and look something like below.
c:\adirectoryname\Teststand Deployment\image\target\data\dllfilename.dll - (Image folder)
c:\Installdirectory\data\dllfilename.dll - (after install on target system)
If you have the source code still on the computer when installing the progrom it looks like it works fine, as the dll acorrding the vi's is in the right place. Soon as its on anyother system the vi's lose the dll as they are looking in the incorrect location. The Teststand will then not run as the vi's themselves and not executable anymore.
06-13-2007 10:13 AM
06-13-2007 10:25 AM