I have created a realdash CAN XML file to interface with my custom ECU.
The xml file allows me to display an enumerated value. I would like to be able to display both the integer value AND the enumeration for that integer on the screen at the same time.
As an example, I want to display a fault code. The fault code has an associated integer value (like a P-code), and I also want to display an enumeration that describes the fault.
How can I do this?
As an example, the xml file currently displays an enumeration through the following CAN frame definition:
How could I also display the associated integer value for Fault?
Just add another value to XML:
<value name="Fault1 Value" offset="0" length="1"></value>
A very simple solution. I’m not sure why I didn’t just try that. Thanks for your help!
Related question - does the order of the values in the xml file matter? For instance, can you describe the bytes in reverse order - so offset 7, then offset 6, and so on.
Sure you can, order does not matter.