NefMoto

Technical => Data Logging => Topic started by: tao13 on February 06, 2023, 01:11:18 PM



Title: logging and conversions
Post by: tao13 on February 06, 2023, 01:11:18 PM
Nyet please tell me about conversion factors A and B:
formula is 
readbyte x conversionA - conversionB
or
readbyte x conversionA + conversionB

I tried to read variables with arduino , with help from Adam.
I read a lot ok, but only with conversionA factor.
I use what me7logger generate file.ecu
I have a problem with tmoltin and tanslin
In ecu file they are in Celsius degree , but i saw in ecuexplot tanslin is in F and tmotlin is in C, but if i use file.ecu conversions......i have strange values.
Other things if you want to advice us, ltft and stft , after my mind i thinked they look the same like blocks 32 in vcds, but....not, they log  with other values. For example i have partial adaption in vcds 0.8 and with me7logger fra_w is 1.01.May i wrong , they are not the same variables?
Thanks in advance


Title: Re: logging and conversions
Post by: nyet on February 06, 2023, 04:35:11 PM
I have no idea what you are asking.

split and moved since it was totally off topic where you left it originally.


Title: Re: logging and conversions
Post by: tao13 on February 08, 2023, 10:46:31 AM
tmotlin         , {CoolantTemperature}              , 0x38489F,  1,  0x0000, {°C}      , 0, 0,         0.75,     48, {Motortemperatur, linearisiert und umgerechnet}

I read address 0x38489F
So tmotlin is  (value_read X0.75) - 48 and tanslin the same formula , right?




Title: Re: logging and conversions
Post by: nyet on February 08, 2023, 01:09:12 PM
Now I understand your question:

Correct. In ME7Logger, it is (A*x - B)

In Winols, there is no implied automatic - (which is confusing)

You can see this in the xdfs as well

Code:
    <title>KFTARX</title>
    <description>Maximum specified load IAT correction factor map</description>
    <CATEGORYMEM index="0" category="16" />
    <XDFAXIS id="x" uniqueid="0x0">
      <EMBEDDEDDATA mmedaddress="0x1010C" mmedelementsizebits="8" mmedmajorstridebits="8" />
      <units>Grad C</units>
      <indexcount>8</indexcount>
      <embedinfo type="1" />
      <datatype>0</datatype>
      <unittype>0</unittype>
      <DALINK index="0" />
      <MATH equation="0.750000 * X+ -48.000000">

vs

Code:
000C, 00, tans                , 0, {°C      }, 0, 0,   0.75,        48, {Ansaugluft - Temperatur}


Title: Re: logging and conversions
Post by: tao13 on February 21, 2023, 01:48:48 PM
Thanks for confirmstion.


Title: Re: logging and conversions
Post by: tao13 on February 27, 2023, 12:52:35 PM
Hi again.
I try to read fra_w , adaption partial and must be in vcds block 32 field 2
I multiplied read value from ecu (018H address 0x381F58) with .0000305176 (i think it is what i found in created ecu file 3.05176e-005).
I have a value 1.01 and in vcds i have -3.1.


Title: Re: logging and conversions
Post by: nyet on February 27, 2023, 01:13:25 PM
The VCDS block value isn't the same as the RAM variable in this case (and others); not sure why.


Title: Re: logging and conversions
Post by: tao13 on February 28, 2023, 12:30:33 AM
In this case my braind go in other place and ask how we adjust tvub and krkte, after witch values , me7logger or vcds?
In wiki is wrote
"LTFT:

Group 032: 001F (rkat_w), 0021 (fra_w), 0020 (rkat2_w), 0022 (fra2_w)

STFT:

Group 033: 001C (fr_2), 0025 (usvk ), 001D (fr2_w), 0026 (usvk2 ) "

Other issue what i saw when i read from memory a variable from ecu with kwp2000: read zwist it is sigened variable and from time to time i received 191 value. Maybe my conversion is wrong? I read it as int16.