NI-XNET Port LED Blinks Red

Updated Oct 30, 2024

Reported In

Hardware

  • USB-8501
  • USB-8502
  • USB-8506
  • PCI-8511
  • PCI-8512
  • PCI-8513
  • PCI-8516
  • PCI-8517
  • PCIe-8510
  • PXI-8511
  • PXI-8512
  • PXI-8513
  • PXI-8516
  • PXI-8517
  • PXIe-8510
  • TRC-8542
  • TRC-8543
  • TRC-8546
  • NI-9861
  • NI-9862
  • NI-9866

Software

  • LabVIEW
  • VeriStand

Driver

  • NI-XNET

Issue Details

When initiating communication, the port LED on my NI-XNET device blinks red.

Solution

The port LED blinks red if a NI-XNET catastrophic error occurs as indicated in the NI-XNET manual.
 


There are several reasons for this issue:
  1. Verify that the cabling is working properly.​
  2. Perform a loop-back test by using the Loopback Test.vi, located in the NI Example Finder in Hardware Input and Output >> CAN >> NI-XNET >> Loopback Test to verify correct cabling.
  3. Ensure that the termination resistance of your XNET device matches that of the cable. For more details, please refer to the NI-XNET API Reference
  4. Monitor the traffic on your bus using the NI-XNET Bus Monitor and ensure that Bus Error Frames are enabled in the Interface and Database Settings. You may see a Bus Error Frame which will have ERR as the frame type. You can reference the data in the frame payload against the Bus Error Frame chart to see the type of Bus Error that is occurring. If you are using CAN FD, it could be related to Error or Incorrect Frames When Using NI-XNET in CAN FD & BRS .
  5. Verify that you are writing the right XNET messages.
  6. If none of the above helps, contact NI Support. It might be that the device needs to be replaced or repaired.