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

Updated Nov 29, 2023

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

 

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. 
  • 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 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.