Archived:nidaq32.dll or nidex32.dll Error When Running My Traditional NI-DAQ Application

Updated May 2, 2018

National Instruments does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Driver

  • Traditional NI-DAQ

Issue Details

I have developed a program that uses DAQ function calls using the Traditional NI-DAQ driver. I have successfully built this program into an executable and deployed it onto a separate target computer. However, when I run the executable I get the following Windows error message:

Application has failed to start because nidaq32.dll was not found.

I also get messages stating that functions/VIs such as “AI Config” and “AO Config” were not found. Why am I getting these errors and what can I do to get my application working?

Solution

The reason you are getting this error is that your program was written in Traditional NI-DAQ, but your target computer does not have the Traditional NI-DAQ driver installed. Even if you have NI-DAQmx installed on the target computer, you will get the Windows error because NI-DAQmx and Traditional NI-DAQ are two independent drivers, each with their own unique DLL’s and functions. 

There are two ways to resolve this error:
  • Install Traditional NI-DAQ on the target computer:
    • Install the driver from the NI Device Drivers CD.
    • Download the most recent version of the Traditional NI-DAQ driver on the Download page.
    • Include the installer as part of your application installer.

However, Traditional NI-DAQ is not supported on 64-bit versions of Windows. If your target is running a 64-bit operating system, review the next suggestion.


 

  • Update the source code of your program to work with NI-DAQmx:
    Review the Tutorial to aid in migration from Traditional NI-DAQ to the NI-DAQmx driver. NI-DAQmx is supported on 64-bit versions of Windows. 

 

Additional Information

This article is about NI-DAQ also known as Traditional DAQ (T-DAQ). NI-DAQmx replaced Traditional NI-DAQ in 2003.  NI strongly recommends using NI-DAQmx for new applications.

WAS THIS ARTICLE HELPFUL?

Not Helpful