LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

An unforseen error occured, probably as the result of a code of markup error. Could not load file or assembly 'NationalInstruments.DAQmx.dll' or one of its dependencies. The specified Module could not be found.

An unforeseen error occurred, probably as the result of a code of markup error.

Could not load file or assembly
'NationalInstruments.DAQmx.dll' or one of its dependencies.
The specified Module could not be found.

The above error is happening when we changed OS from Microsoft Windows 10 LTSB 2016 64bit to Windows 10 LTSC 2019 64bit

 

Hi team, I am Lead OS Engineer working for Philips Health Care Bangalore. we are using NI DAQ 18.1 version. In our application I could see 'NationalInstruments.DAQmx.dll' and some more NI related files used with the application, and application calls the DLL file.

 

Operating System Used : Windows 10 LTSC 2019 x64, we recently moved to this OS and when we launch our application it refers the 'NationalInstruments.DAQmx.dll'.

IN OS we have installed : NI_DAQ MX 18.1 drivers successfully. The error doesn't appear in windows 10 LTSB 2016 or Windows 10 enterprise edition 2016.

 

Why this error appears in Windows 10 LTSC 2019 x64 os ? I am not able to find the 'NationalInstruments.DAQmx.dll' from NI-DAQ 18.1 after installation so I can replace it with my application in case of any compatibility issues.

 

Requesting your guidance and help ASAP.

 

Download All
0 Kudos
Message 1 of 4
(2,444 Views)

Sounds like you're building a WPF app. In which case the LabVIEW forum is probably not the right place to post this - I'd suggest posting in the Measurement Studio forum instead to get more targeted responses (https://forums.ni.com/t5/Measurement-Studio-for-NET/bd-p/232), or perhaps a moderator can move your question there.

 

Otherwise it could be a compatibility issue with DAQmx 18.1 not supporting the semi-latest version of Win10. Have you tried installing the latest version of DAQmx (19.1)? When you do, make sure you enable support for .NET languages as part of the installation options.

0 Kudos
Message 2 of 4
(2,357 Views)

Hi Thanks for replying and guiding ahead. I will try with 19.1 version and see whether it supports 2019 LTSC windows 10 64 bit. I am not able to find a offline installer for NI DAQ 19.1

0 Kudos
Message 3 of 4
(2,347 Views)