cDAQ NI-DAQmx Write Functions Results in DPC_WATCHDOG VIOLATION

Updated Oct 2, 2025

Reported In

Driver

  • NI-DAQ™mx

Issue Details

I have recently upgraded my Antivirus or security systems on my computer that uses DAQmx 19.0-21.8. Since doing so, attempting to use a DAQmx Write function or output a value through an NI MAX Test Panel results in a Windows Blue Screen of Death (BSOD) with error code "DPC_WATCHDOG_VIOLATION". Why does this happen?

Solution

DAQmx 19.0 and above uses Winsock Kernel (WSK) calls to perform network interfacing. An antivirus or a security procedure is blocking the call from completing and resulting in a deadlock for interrupts.

This issue was fixed in NI-DAQmx 22.5 or later and can be resolved by upgrading. 

If unable to upgrade, this issue can be fixed by creating exemptions for the following folders and processes in the anti-virus or security software.

Folders:

  • C:\Program Files (x86)\National Instruments\
  • C:\ProgramData\National Instruments\
  • C:\Program Files\National Instruments\

Processes:

  • C:\Program Files (x86)\National Instruments\MAX\NIMax.exe
  • C:\Program Files (x86)\National Instruments\LabVIEW 20XX\LabVIEW.exe