Exporting sensor tabels. Logic behind voltage values?

Exporting ie. clt calibration table, xml file voltage values does not match what client is showing (screenshot).

Temp. values does match but what is logic with voltage values?

table id="sensors/clt/calibration" type="s12" version="0.110" family="0.101" minimumClientVersion="0.090" clientVersion="0.116.2" format="3" platform="EMUPRO" variant="8" serialNumber="" firmwareVersion="">
  <x size="20" signed="0" channel="sensors/clt/voltage" data="172 278 344 426 516 622 745 885 1024 1171 1343 1532 1916 2867 3104 3301 3505 3669 3800 3898"/>
  <v data="1263 1055 968 882 806 733 662 595 537 483 426 370 267 31 -34 -94 -168 -241 -316 -393"/>
</table>

The data in the document.xml are in RAW format, internal representation in the ECU. In this case, 12bit ADC values 0…4095 are mapped to 0…5V range.

So: 172 * 5[V] / 4095 = 0.210[V]

That makes sense. Thanks!

1 Like