07-28-2014 02:24 PM
07-28-2014 03:45 PM
Ok, so when I went to get the path, I realized that the software must had set it by default because it wouldn't let me access it. So I've set it to the following path "C:\CSP2\chr62000p_LV_20120309\chr62000.dll" which corresponds to the one I use in my VI. What's the next step?
07-28-2014 04:01 PM
07-29-2014 09:22 AM
Well, my VI was still working but my .exe wasn't.
But I'm starting to figure out there may be something wrong about the .dll. It seems I was using both a IVI installer and a package that contained a VI library and another .dll. Am I supposed to do that or does the IVI package (.msi installer with a NI interface) is supposed to be enough???
07-29-2014 09:30 AM
07-29-2014 09:35 AM - edited 07-29-2014 09:50 AM
How can I modify the .dll that is called by the VI and how can I make sure that the right one is included in the support files of the .exe?
So far I've uninstalled the IVI package and tried to rely on the .zip containing the VI library and the .dll. I've rerouted all the VIs to the correct .dll and it still works only when I'm running the VI in LabVIEW.
Also, it seems the .vi from the library are pointing towards a different .dll than the one the IVI was pointing to.
Driver sessions path was : C:\Program Files (x86)\IVI Foundation\IVI\Bin\chr62000_32.dll
While VI was : C:\CSP2\chr62000p_LV_20120309\chr62000.dll
07-29-2014 09:52 AM
07-29-2014 09:55 AM
Does the IVI package come with its own VIs?? Because the VIs in the .zip won't work with the IVI .dll. If so, how can I access those VIs??
07-29-2014 09:59 AM
07-29-2014 10:03 AM - edited 07-29-2014 10:19 AM
Yes, I'm trying to run from the development PC.
What I mean is that I have used two packages from Chroma.
The first one was a .zip containing a chr26000.dll and a library of VIs which I used in my project. I also had installed another pack, the IVI package.
I've looked into it and it says the IVI package is for LabWindows.. so I guess it wasn't necessary to install that. Anyways, using the LabVIEW package from Chroma I still get the error when I'm running the .exe.