Solution
In addition to the possible reason(s) listed in the DAQmx Explain Error window, Error -201003 can be caused by the following:
- NI-DAQ™mx driver is not installed properly or has not been updated.
- The slot location of the DAQ device has been changed.
This problem can be caused by software incompatibility between your device driver, operating system, and development environment. Please ensure you are using the newest software versions that supports your hardware and your computer's operating system. If you do not have the newest device drivers that is supported by your hardware, OS, and software, please install the newest driver and restart your computer.
You can check to make sure your LabVIEW, operating system (OS), and driver versions are all compatible using the compatibility charts linked below.
If the hardware drivers are up to date and the issue still persists, try these additional steps:
- Check that the device is powered on and is detected by your operating system. To do so, go to Control Panel>>Device Manager and expand the Data Acquisition Devices category. If your module is visible in this section, it indicates that it is properly installed and has been detected by your operating system. If not, then turn your computer off and on again.
- If your device is not visible here, ensure that the device is properly powered. Many devices have a power LED. Ensure this LED is on. If it is not, your device or the power supply may be damaged. Try a different power supply.
- For PCI(e) devices make sure the device is properly seated in the PCI(e) slot of the host PC.
- For USB devices, make sure that the USB port is working on the PC, or try a different USB port on the host PC.
- After the NI DAQ device shows up in Device Manager, go to Measurement & Automation Explorer (MAX) and check if the device is visible under Devices and Interfaces. Older versions of MAX may contain a sub-directory for DAQmx Devices where the device should be found. If it shows up and gives the same error or does not appear, uninstall NI-DAQmx and reinstall it. Make sure you get the right version or if necessary, an updated version.
- If you are using a cDAQ with an integrated controller, you may get this error if your executable runs before all of the modules initialize. Either wait before running your application or programmatically add a wait function.
- If you are using a network cDAQ, check that the firmware is up to date and compatible with the installed version of DAQmx.
- Lastly, if the NI DAQ Device shows up in MAX but still gives Error -201003 from the test panel, it indicates that the device is interacting with the driver but is giving the error because DAQ Assistant still has the previous configuration information from MAX. To update the module configuration for DAQ Assistant, do the following for every instance of DAQ Assistant in your VI that uses the same module:
- Double-click on DAQ Assistant and go to Configuration>>Details.
- Right-click the item under Physical Channel and choose Change Physical Channel.
- From the menu window that opens up, select the current device configuration and confirm that it is the right one by checking in MAX to see that the device number matches.
- Alternatively to the previous step, you can change the name of the DAQ Device under MAX by right-clicking the device and selecting Rename from the menu.
If the NI DAQ device is not visible in Device Manager or never appears in MAX, it could indicate that the device is damaged. If possible, try the NI DAQ device on another host PC with a compatible software stack.
If using a cRIO compatible with the DAQmx driver.
When setting the Real-Time Executable as a startup application it may take some time to initialize all hardware during boot. This is due to DAQmx setting up synchronisation domains and other configurations for C-Series modules.
Try adding an initial delay of a few seconds before calling the DAQmx task. Some targets may take up to 90s to fully initialize.