Is it Possible to Read Error Frames in VeriStand?

Updated Apr 10, 2026

Reported In

Software

  • VeriStand

Driver

  • NI-XNET

Issue Details

I am trying to perform CAN FD communication using the XNET functionality of VeriStand. After communication with the DUT has been successfully established, I would like to change the transmitted data, and in the event of an abnormal condition, I would like to continue retrying the transmission of the same data. After transmitting a CAN FD message, is there a way to read error frame in VeriStand so I can determine whether ACK error occur or not?

Solution

You can Add Port Specific Channels from the CAN interface in VeriStand System Explorer tree.

 

 

This will add additional channels under Interface tree where you can see Transmit Error Counter, Receive Error Counter and Last Error information if the transmission failed. If the transmission failed due to Acknowledgement error, you could see Last Error channels return 3.

 

 

The Last Error number indicates the below bus error:

  • 0 = None (never returned)
  • 1 = Stuff
  • 2 = Form
  • 3 = Ack
  • 4 = Bit 1
  • 5 = Bit 0
  • 6 = CRC

Additional Information

If there is no requirement to use VeriStand to check the error frames, you can use NI XNET Bus Monitor to monitor any error frame occurrence in the bus.