Supporting U64 Signal in VeriStand XNET

Updated Aug 4, 2025

Environment

Software

  • VeriStand

Driver

  • NI-XNET

All VeriStand channels are passed and stored as doubles. If a native control or indicator is used for an U64 signal, when the data is more than the maximum value of I64, a data loss will happen. To support U64 signal in XNET, VeriStand provides a way to support "raw-data frames", which allow accessing the frame payload bytes/bits without any data loss. 

  1. Open the VeriStand project, navigate to File>>Preferences...

  1. Click System Explorer Options

  1. Enable Treat DBL as U64 bitfield in XNET>>Raw Data Frame Settings, then click OK to save the configuration.

  1. Navigate to NI-XNET/CAN, Select the CAN database file with U64 signals. Right-Click Cyclic, then select Import Frames. VIU1_ADASCANFD_0xD7 has a U64 signal - FRSRTime. I will take this frame as an example.

 

  1. Enable Raw Data in Import Options, then select the frame - VIU1_ADASCANFD_0xD7 in XNET Frames.

  1. Right-clicking on the frame, then select Add Raw Data Channel to add the signals one by one. For the U64 signal - FRSRTime, Enable 64 bit representation should be checked.

  1. As the raw data is reinterpreted as a double, this will require updating any models or other components interacting with the channel value to perform the same reinterpretation in reverse.
    1. For automatic test, normally, an output interface of a Matlab/Simulink model will be mapped to the U64 signal. Before the output interface, a Float Typecast block should be inserted.

 

    1. For manual test, there is not a native control for displaying data reinterpreted this way on VeriStand screen. A custom control and indicator which can display the data correctly are created. The custom control/indicator is developed for the old workspace. They should be uploaded to C:\Users\Public\Documents\National Instruments\NI VeriStand <Year>\Display Templates.

Note: A custom control and indicator which display the data correctly on VeriStand screens are being developed. Please reach out to NI Technical support if you need them after 2025 Q3.

  1. For other frames without an U64 signal, the way to add them in VeriStand XNET has no changes.