Modifying the CRC values of CAN frames via NI-XNET

Updated Apr 21, 2023

Environment

Software

  • LabVIEW

Driver

  • NI-XNET

I would like to be able to dynamically modify the CRC values of CAN frames sent with the NI-XNET driver. Is there any way of doing it?

CRC values are both generated and checked in the hardware of the XNET device. At this time, XNET does not support user level manipulation of CRC values. A possible workaround however would be to calculate the custom CRC values and include them as part of the frame payload.