12-20-2005 12:05 AM
Virtual InstrumentWhen I am called on to identify the path to the DLLs I do it by browsing from C: --> Program Files --> SI Image SGL C, yet somewhere along the way LV turns C:\Program Files into Program Files: and remembers it as such.
- The external library expected to be at
"Program Files:\SI Image SGL C\tiff2vi.dll" was loaded from
"C:\Program Files\SI Image SGL C\tiff2vi.dll".
- The external library expected to be at
"Program Files:\SI Image SGL C\SpecInst.dll" was loaded from
"C:\Program Files\SI Image SGL C\SpecInst.dll".
:
12-20-2005 04:53 AM
hi there,
never seen this, so these suggestions are just shots in the blue:
- is the LV 7.1.1 RTE installed on both systems? if not install LV 7.1.1 RTE
- check the value of the "ProgramFiles" environment variable (type "set" on a system prompt).
- add the path to the dll to the "path" environment variable
- try to place the dlls in the same folder as the application
- consider to place the dll in the systems folder
good luck and let us know
12-20-2005 05:07 AM
12-20-2005 05:20 AM
12-20-2005 12:51 PM
Both systems have fully licensed development systems of LV installed. The target system is not in an environment that is conducive to much development activity but work is done there and brought back to the real development machine (hence the reason why I said this happened regardless of the direction of transfer of the VIs - they can get updated on each end and then moved to the other system).
I don't see anything out of place here. The "Path" variable is OK (makes sense) on both machines and the "ProgramFiles" variable is identical on both machines.
"add the path to the dll to the "path" environment variable"
I'll consider this as a last resort. I'd rather not be changing system variables (unless it were to correct errors) to get something that should be simple fixed.
"try to place the dlls in the same folder as the application" & "consider to place the dll in the systems folder"
They are already in the folder with the application that they were delivered with; the fact that I'm also using them with the LabVIEW code is an add-on. I won't be moving them because I don't want to disturb the other application.
"Is the same version of windows running on both the systems?"
Yes, identical.
"Are you sure that on the development machine the dll is where you say it is, it might be that they are multiple copies of the dll and the VI maybe pulling in the dll from an alternative location."
There is only one copy of the DLLs on each machine. The message I'm getting about the where LV is looking for but not finding the files even confirms that. It's the exact same &*^%$#@ directory (or folder if you prefer) but in one case the path includes a logical variable replacement for "C:\Program Files" and in the other case it is explicitly spelled out.
"Has the VI, on the development system, got a * when you load it, indicating something has changed."
Yes the VI has changed, it's a natural result of it not having found the DLL where it thought it should be and my having to point it out again.
But that is the only reason it has changed. It's not from having being edited.
12-21-2005 05:33 PM
12-21-2005 05:57 PM
Wendy,
Thanks for taking the time to look into this for me and confirming that it is indeed aberrant behavior by LabVIEW.
And thanks also for the the link to the possible workarounds.
I'll give them a try when I return to work after the holiday. Have a good one!