About CAN display value

I am creating a custom xml to display CAN received values.

I created the xml with reference to dbc.
However, the value displayed in readlrash is 50 and the value displayed in savvyCAN is 25, the values are different.
I have not set up any scaling, etc. Does anyone know how to solve this?

I am trying to display an 8 byte (big endian) unsigned signal with start bit 7.

xml

frame canId=“0x420” endianess=“big”
value name=“T1” startbit=“7” bitcount=“8” units=“degC” signed=“false”></value

dbc

BO_ 1056 tireTempCam_420: 8 Vector__XXX
SG_ T1 : 7|8@0+ (1,0) [0|0] “ーC” Vector__XXX

If you are taking the full byte I would use offset=“0” length=“1” instead of bitcount and startbit, i.e. the first byte in the frame

1 Like

Correct. DBC files always uses bits on offset and length. This can be a bit confusing especially on big endian as first byte is offset 7 length 8 (on DBC).

thank you!
It was a mistake between big endian and little endian…
I apologize to you for a fuss over.

1 Like