From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

ni veristand system defintion file

I am working with VeriStand and NI HiL.  My task is to have the VeriStand system definition file auto update when we want to change CAN DBs for the project.  I have opened the SDF in notepad ++. 

 

Under each message there is <Property Name="user.CD.MD5 Frame"> and each signal <Property Name="user.CD.MD5 Signal">. 

On the line below each there is
<BinaryString>ZTI5NjUwMTlmZTdhMDYxNTliN2RhOTcyN2IxNWYxNDI=</BinaryString>  ****This string changes****
From what I know about MD5, the output length is supposed be 32, for all messages and signals the length of the MD5 output is 44.
Why is this?  What exactly does VeriStand use this BinaryString for? What information was converted to the BinaryString?

 

Screen shots of MD5 Frame and MD5 Signal attached

Download All
0 Kudos
Message 1 of 3
(3,813 Views)

These strings are just used internally to determine if a frame or signal has changed when you refresh the XNET database. You are correct that an MD5 should be 32 characters. However, these strings were encoded using a base64 encoding. I don't think that encoding is necessary for any reason.

Jarrod S.
National Instruments
0 Kudos
Message 2 of 3
(3,808 Views)

Hi.  You might want to look at something like the VeriStand Simple System Definition API  (https://decibel.ni.com/content/docs/DOC-26812).  I was able to use this code as a starting point to really dig into the API's to modify and read the VeriStand Sys Def file.  Good Luck!

0 Kudos
Message 3 of 3
(3,797 Views)