Integrating Custom CRCs in NI VeriStand

Updated Oct 2, 2024

Reported In

Software

  • VeriStand

Issue Details

I understand that NI VeriStand supports only CRC-8 or CRC-16, but for the purposes of my application I would need to use different CRCs (e.g. CRC-32 or CRC-64): how can I accomplish this?

Solution

Possible solutions are:
  1. CAN Frame Protection Custom Device
    • Such Custom Device expands the CRCs available in VeriStand, see the Custom Device documentation for additional information
  2. Proprietary Custom Device
    • The CAN Frame Protection Custom Device provides a software architecture that can be leveraged by a programmer versed on Custom Device development, in order to integrate the CRC required. Additionally, to get you started with the development of the Custom Device, you can refer to this knowledgebase for an understanding of CRC customization with NI-XNET APIs
  3. Proprietary Models
    • If compatible with the specifications of your application, VeriStand models could be a viable alternative to Custom Devices. You can import your CAN frames as Raw Data Frames in VeriStand and exploit VeriStand mappings to map the CRC computed by your model within the CAN frame payload