Error -201390 and Computer Loses Connection to Ethernet cDAQ

Updated Feb 25, 2025

Reported In

Hardware

  • cDAQ-9185
  • cDAQ-9184
  • cDAQ-9188
  • cDAQ-9189
  • cDAQ-9181
  • cDAQ-9183
  • cDAQ-9187

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I am running a LabVIEW program using an ethernet CompactDAQ (cDAQ) and after a day, I get the error below and I do not know why.

Error -201390 occurred at Voltage - Continuous Input.vi
Possible reason(s):
Connection to the network device was lost. This can indicate an unplugged network cable, a failing network component, or a network device that is reserved by another host.

Solution

This error presents when the ethernet connection is lost between the computer and the cDAQ chassis. There are different ways to avoid the error:

  • Set your PC ethernet power settings to be always on.
  • Ensure you ethernet connection is not being affected by a router or switch limiting data transfer.
  • Change cables.

If all of this fails to fix the problem, it is always recommended - even if it works - to setup appropriate error handling in order to recover once the connection is restored. You will need to stop and restart the task. Refer to the related links for an example.