An Internal Error Occurred in the NI-XNET Driver

Updated Nov 30, 2023

Reported In

Software

  • Measurement & Automation Explorer (MAX)
  • LabVIEW Runtime

Driver

  • NI-XNET
  • NI-DAQmx

Issue Details

I have multiple cDAQ chassis with NI-XNET and a couple of Analog, Digital I/O modules attached.
My program worked normally in the past, but now I randomly receive an internal error, the LabVIEW program continues running but the connection with the DUT (Device Under Test) loses randomly, and the restart of the program does not help as well. The only way to be able to reconnect the device is by restarting the cDAQ chassis as mentioned in the NI MAX message.
image.png
 

Solution

These types of errors can occur when there have been modifications to the DLL files of the drivers, even if there have not been major changes the regular Windows updates can corrupt the DLL files that drivers refer to. 
To avoid receiving the error try to update all the necessary software and drivers. In this particular case, there is a need to update the LabVIEW Runtime, NI-DAQmx driver, and the NI-XNET driver to the latest available versions. 
If the update will not resolve the issue try to completely reinstall the NI software on your PC.