MATLAB: Do I receive a “nidaq32.dll missing” error when trying to use the National Instruments hardware with the Data Acquistion Toolbox 2.7 (R14SP3)

.datdaqhwinfodaqregisterData Acquisition Toolboxinstallinstallationinstalledmaxninidaqnidaqmxnidaqtradtrad

I am using a National Instruments data acquisition board with the Data Acquisition Toolbox. When I try to create an analog input object using the ANALOGINPUT function, I receive the following error:
ai = analoginput('nidaq')
NIDAQ32.dll is missing.
I have installed drivers for my data acquisition board and the board works fine in NI's Measurement and Automation Explorer software.

Best Answer

The nidaq32.dll is the NI-DAQ Traditional driver used by many of National Instruments' older hardware devices. Newer NI hardware uses the NI-DAQmx driver.
Note that, prior to Data Acquisition Toolbox 2.8 (R14SP3+), only the NI-DAQ Traditional drivers were supported by the Data Acquisition Toolbox. There is a subset of NI hardware (like the E-series, for example) that can use both the NI-DAQ Traditional and NI-DAQmx drivers.
If your NI hardware works in the Measurement and Automation Explorer, but fails to work with the Data Acquisition Toolbox, then the following is likely:
- You are using a version of Data Acquisition Toolbox prior to Data Acquisition Toolbox 2.8 (R14SP3+).
- You have installed the NI-DAQmx drivers that your board supports.
- Your board does not support the NI-DAQ Traditional drivers, and/or you have not installed the NI-DAQ Traditional drivers.
There are two ways to proceed:
1. If you are using hardware that supports the NI-DAQ Traditional drivers, you should download and install the NI-DAQ Traditional drivers from National Instruments' Web site. (You do not need to uninstall the NI-DAQmx drivers).
2. If you would like to use the NI-DAQmx drivers with your hardware in MATLAB, you will need to upgrade to Data Acquisition Toolbox 2.8 (R14SP3+) or later.
To determine which (if any) version of the Data Acquisition Toolbox supports your hardware, refer to the Data Acquisition Toolbox product page: