Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

distribute Daqmx.dll

Hi I am using Daqmx.dll for my VC# program . Recently I created setup using Visual Studio net. When I setup in client machine I received a error message "Unable to load Daqmx.dll". Can anybody tell me whatz went wrong??/
0 Kudos
Message 1 of 5
(3,806 Views)
You might want to check if the client's machine has the library on it. Often, this is omitted and causes the program not to run.
0 Kudos
Message 2 of 5
(3,787 Views)
Prabahar:

To redistribute a DAQmx .NET application there are generally two major points you should know:

(1) Your installer should include MStudioDAQmx.msm to install the DAQmx .NET Assembly. This msm is provided with NI-DAQ and, by default, is installed to Program Files\Common File\Merge Modules
(2) In addition to (1) above, you must require that all client machines install the NI-DAQ driver.

The error message you're getting could indicate a problem with either of these points, but I would guess it's referring to the second one.

I'm sorry this isn't better explained in our documentation. We're working to improve that in future versions of NI-DAQ.

Please let me know if you have any other trouble.

Thanks,
Chris
.NET and C++ NI-DAQ Team
NI R&D
0 Kudos
Message 3 of 5
(3,782 Views)
Hi all,

Thanks all for your quick response.After installing the NI-DAQ driver in client machine, now it is working. I have another Question. Is it any specific setpu to install NI-DAQ driver. The driver i downloaded from NI is around 600 Mb. My program is less than 10 Mb.

Is is always necessary to install the 600 mb driver first then followed by my setup.

Even for printer, scanner... we have small size driver less then 1 Mb. But NI-DAQ, I have to install whole CD.

Is there any way to install the driver specifically for a DAQ card.?

ThanQ
Prabahar
0 Kudos
Message 4 of 5
(3,770 Views)
Prabahar,

Unfortunately there is not a 'lite' version of the driver. Fortunately the driver contains components for all the various operating systems, so it won't necessarily have quite the ponderous size of the installer for the actual footprint of the DAQ driver on your machine.

You must install the entire DAQ driver in order for any programs with DAQ devices to work. The driver will also install a few utilities such as Measurement and Automation Explorer (MAX) so that you can better diagnose issues and more easily set up your hardware.

I did a quick look at my machine and it looks like the DAQ portion of the installer is about 100MB and the MAX portion is about 250MB. So the footprint on my machine is about half the size of the installer package.
0 Kudos
Message 5 of 5
(3,761 Views)