NI-DAQmx Error -50400 or -223022 When Reading From PXI(e)/PCI(e) Devices

Updated Mar 10, 2025

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

  • When trying to read data from my PXI(e)/PCI(e) device using the NI-DAQmx read function in LabVIEW I am receiving the following errors:

Error -50400 occurred at DAQmx Read.vi
Possible reason(s):
The transfer did not complete within the timeout period or within the specified number of retries

 

Error -223022 occurred at DAQmx Read.vi
Possible reason(s):
Internal Software Error occurred in DSA software. Please contact National Instruments Support

 

  • I see a persistent duplicate of my PXIe module in NI-MAX, where it is showing the same card in the same slot twice, showing Error -50400.

Solution

Both of these error codes indicate fairly general problems that may have a number of causes in both hardware and/or software. 

  • Error -50400 indicates that the board cannot communicate with the onboard FPGA.  If the board cannot communicate with the FPGA, it will not function. 
  • Error -223022 indicates that the ADCs never came out of their initial calibration cycle, which is done immediately after driver load when the system boots.  This will occur at start up and if the calibration cycle fails then the device will be inoperable until the system is restarted and the device boots correctly.

The following troubleshooting steps should be performed in order to rule out possible software causes:

  • Reset the device in the Measurement & Automation Explorer (NI-MAX).
  • Reboot the PC or PXI controller. 
  • Perform a MAX database reset as explained here: Reset and Fix the Measurement & Automation Explorer Database File - NI 
  • Try the device in different PXI/PCI slots.
  • Reinstall the device driver in the device manager by deleting the device and letting the operating system re-detect the hardware (Action >> Scan for New Devices in the Windows Device manager). 

NOTE:  You do not need to reinstall DAQmx.

  • Self-test and Reset the device in NI-MAX. If the board is still not functioning it will throw the error here.
  • If possible, try the device in a different system.
  • Try using the system with another PC. In some cases, the error might be a result of motherboard incompatibility.  
  • If you are using a PXI system connected through an MXI connection (using a PXIe Remote Controller), none of these steps resolved the problem and you also see duplicate modules in NI MAX persistently, disable Intel Virtualization Technology for Direct I/O (Intel VT or VT-d) and Single Root I/O Virtualization (SR-IOV) in the PC's BIOS settings. Here is more information about this issue: Blue Screen of Death After Installing NI Software.

If the board still doesn’t function after trying these steps, then please contact NI support as there may be a hardware issue.

Additional Information

Error -223022 can also be observed during a device self-test for a module showing a red X in Devices and Interfaces on NI MAX, or when trying to open the Test Panels.