cDAQ NI-DAQmx Write Functions Results in DPC_WATCHDOG VIOLATION

Updated Feb 11, 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. The new antivirus or security procedure is blocking the call from completing and resulting in a deadlock for interrupts.

To fix this, allow the following folders and processes as exemptions from the anti virus or security software:

Folders:
C:\Program Files (x86)\National Instruments\

C:\ProgramData\National Instruments\

C:\Program Files\National Instruments\

Process:

C:\Program Files (x86)\National Instruments\MAX\NIMax.exe

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



 

Additional Information

This is a known issue and a fix is being implemented. For immediate updates, create a service request at ni.com/ask and ask for an update on pull request 312330.