From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing NationalInstruments.DAQmx.DLL when deploying C# client application

Hi,

we have been developing towards the NI-DAQmx framework for some time and when we were about to deploy our application to client computers we could not get the data acquisition to work.

Logs show that the NationalInstruments.DAQmx DLL file cannot be located, which we use to interact with the devices in our C# code. The code works just fine on the client computers if we install the full DAQmx with the required .NET components.

 

We use DAQmx version 8.9 for both development and for clients. We deployed using the NI-DAQmx Run-Time Engine version 8.9, which reduced the dependency footprint from 1GB to about 200MB. Unfortunately, we don't understand why the DLL file is missing when only the run-time files are installed on the computer.

Have I missed an important step here? Aren't the .NET components included in the core runtime package?

 

We have not tried the latest versions (9.1.1) yet, but I figure the version is not the issue here.

 

 

Best regards,

Andreas Larsen

 

 

0 Kudos
Message 1 of 2
(3,140 Views)

No ideas..?

0 Kudos
Message 2 of 2
(3,045 Views)