ni.com is currently experiencing issues. Support teams are actively working on the resolution.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx 21.0 causing DAQmx.dll error - Initialization routine failed

Solved!
Go to solution

Full message: Could not load file or assembly 'NationalInstruments.DAQmx.dll' or one of its dependencies. A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT:0x8007045A).

I looked around the forum a bit and didn't see a reference to this error. I am wondering if NIDAQmx 21.0 has a known issue like this? Our resolution was updating to 21.3 so we don't need a different urgent solution. Just wanted a reference in case someone else runs into this.

We reference the NIDAQmx 17.0 package (16.1.40.70) for local reference. This might also be a .NET 4.0 runtime driver support issue, because that's what our apps are built on at the moment.

0 Kudos
Message 1 of 2
(1,150 Views)
Solution
Accepted by topic author DynoGuru

Apologies, I just found the 21.3 bug fixes. I was looking under 21.0 for known issues.

The error I mentioned is logged properly here:

https://www.ni.com/en-us/support/documentation/bugs/21/daqmx-21-3-known-issues.html

https://www.ni.com/en-us/support/documentation/bugs/21/daqmx-21-3-bug-fixes.html

 

Thank you NI for this!

0 Kudos
Message 2 of 2
(1,143 Views)