Error -50152 after Computer Wakes from Sleep

Updated Oct 19, 2018

Reported In

Hardware

  • CompactDAQ Chassis
  • CompactRIO Chassis
  • PXIe-1078
  • PXI-8361
  • PXIe-8360
  • PCIe-8361

Driver

  • NI-DAQmx

Issue Details

When I wake my computer from a sleep state and I attempt to access my NI-DAQmx hardware in NI MAX or my development environment I receive Error -50152 "A hardware failure has occurred. The operation could not be completed as specified."
Why does this error occur and how can I resolve the error?


 

Solution

In order to resolve this error it is recommended that you restart the computer. To prevent the error from occurring in the future it is recommended that you do not put your computer into the Sleep power state and that you disable any power options that may automatically put the computer into the Sleep power state after the computer has been idle for a period of time.

This error may also occur if you are using MXI hardware and it is not being recognized properly.  If this is the case, try installing the BIOS compatibility software as outlined in step 1 of the MXI Compatibility and Connectivity Troubleshooting Guide.
 

Additional Information

When a computer boots or is coming up from a low-power state, such as Sleep, NI-DAQmx hardware has to complete a self-configuration in order to be used. During a normal boot the time required for the operating system to load allows plenty of time for the hardware to complete its self-configuration. However, the Sleep state retains the computer's state in memory which results in the load occurring faster, especially on systems using quicker hard drives like an SSD. As a result of the self-configuration not completing before the operating system is loaded it times out and results in the Error -50152.


Additionally, if you are disconnecting from your device each time your computer sleeps and are not receiving an error from LabVIEW, check your NI MAX Technical Report. Within the MAX Configuration Report portion of the MAX Technical Report, check the Settings for your PCI Device.


Within the Settings there should be a note here that the hardware failed due to Status Code: 50152. This is the same as receiving Error 50152 within LabVIEW and you should use the same steps from above to resolve this issue. 
 

WAS THIS ARTICLE HELPFUL?

Not Helpful