Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 204329

Re: How to add inbuilt DLL to a project explorer

$
0
0

 wrote:

Hi. I have the same issue. I am writing drivers for some Keysight/Agilent instruments and seems I am using a "dll wrapper" IVI driver like the OP. I did find the KtDAQ970.dll file. Its in C:\Program Files (x86)\IVI Foundation\IVI\Bin.

 

Exe's cannot find this DLL, and there is no way to include it into the "Always included" box:

Krokanwood_0-1634726645599.png

 

So is the solution to rewrite everything to use SCPI commands instead? Why Can't I just add the DLL and stuff works? (Tried copying the dll... The exe created a tiny black hole and divided by zero. Didn't go well....)

 


I never found a working solution for including the DLL. What does work for me is to install the IVI shared components and the Keysight drivers (KtDAQ970-IviC-x64_1.0.0.0.msi in my case) on the machine which will run the executable.

 

I placed the necessary driver install files in a sub-folder of the LabView project and then added them as source files in the settings for the installer. This way the drivers are copied in a sub folder next to the executable but must still be installed manually. I believe I read somewhere that it is possible to make the installer run the driver files during installation, but it did not seem straight forward when multiple external installers are necessary so I did not spend the time trying to make it work.


Viewing all articles
Browse latest Browse all 204329

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>