DAQmx Error -50152: A Hardware Failure Has Occurred

Updated Nov 3, 2026

Reported In

Hardware

  • PXIe-4300
  • PXIe-4302
  • PXIe-4357
  • PXIe-4303
  • PXIe-4353
  • PXIe-8301
  • PXI-4110
  • PXIe-6366
  • PXI-4065
  • PXIe-4322

Driver

  • NI-DAQmx
  • NI-DCPower

Issue Details

When I try to run a test with my card or launch Test Panels in MAX, I receive an error similar to what is shown below:

Error -50152 occurred at XXXX
Possible reason(s):
A hardware failure has occurred. The operation could not be completed as specified. 

Solution

Error -50152 may be associated with hardware communication issues, PXI chassis connectivity problems, MXI-Express (MXIe) enumeration issues, firmware issues, or host computer PCI Express configuration settings. The following actions have been reported to resolve the issue in different system configurations. Depending on the system architecture, not all recommendations may apply.

 

  • Reset the MAX configuration and test the device using a finite or continuous task in NI MAX.
  • Move the module to a different slot in the PXI chassis.
  • If the chassis is connected to a host PC through an MXI-Express (MXIe) connection, test the module in a PXI system that does not use an MXI connection.
    • If another chassis is available, install the module in that chassis and verify whether the issue persists.
  • If testing on a non-MXI system is not possible:
    • Install the MXI-Express BIOS Compatibility Software.
    • Create a backup or system restore point before modifying BIOS settings or installing the software.
    • If the MXI card has DIP Switches, set DIP switch 1 on the MXI card to the ON position. Leave all other DIP switches in their default positions.
    • Test different PCI Express slots in the host computer.
    • Modify the PCI Express power-management settings:
      • Open Settings.
      • Select System.
      • Select Power & Sleep.
      • Select Additional power settings.
      • Select Change plan settings for the active power plan.
      • Select Change advanced power settings.
      • Expand PCI Express.
      • Expand Link State Power Management.
      • Change the power-management setting and test again.
    • If MXI-Express BIOS Compatibility Software 2025 Q2 is installed and you are using a PCIe-8363, uninstall it and test using MXI-Express BIOS Compatibility Software 2023 Q2 or 2024 Q4 or newer release that includes a fix for known PCIe-8363 compatibility issues. Some desktop systems using PCIe-8363 host cards may report DAQmx Error -50152 when running hardware-timed tasks with version 2025 Q2.
  • If using a Thunderbolt MXIe expansion system, review and perform the troubleshooting described in:
  • Verify that other modules in the system can perform finite or continuous acquisitions.
    • If other modules exhibit similar behavior, reinstall their corresponding drivers.
  • If another module of the same model is available, test it in the same chassis slot where the issue occurs to determine whether the issue follows the module or the chassis slot.
  • Verify that the module firmware is up to date and update it if necessary.

Additional Information

BIOS enumeration issues can lead to cards not functioning correctly in PXI Chassis as is explained in Mitigating MXI-Express PC Incompatibility.
 

A reported case involving a PXIe-4322 module installed in a PXIe-1084 chassis and connected through a PCIe-8363/PXIe-8361 MXI-Express link generated DAQmx Error -50152 during continuous waveform generation and while using NI MAX Test Panels. The issue was traced to MXI-Express BIOS Compatibility Software 2025 Q2. Replacing the software with MXI-Express BIOS Compatibility Software 2023 Q2 resolved the issue. If a similar MXI-Express configuration is being used, verify the installed BIOS Compatibility Software version as part of troubleshooting.