Page 1 sur 1

AEM-LINEAR volts - to - AFR

MessagePublié: Lun 11 Juin 2007, 6:57 pm
par automat
http://forums.plastikracing.net/viewtop ... 2097#52097

apres avoir planter le laptop a martin en switchant megatune du code vX en code HR la table AFR targets est revenue en volts au lieu de AFR. voici la solution pour corriger le probleme...

EDIT

1. Open msns-extra.ini in a text edit. Notepad is available on Windows systems so you might as well you that if you don't have an advanced text edit. For me, this file was located under: C:\Program Files\MegaSquirt\MegaTune225\MegaTune2.25\mtCfg\msns-extra.ini


2. Scroll down to #elif AEM_LINEAR. This can be found on line 808.


3. Change the code from:
Code: Tout sélectionner
          #elif AEM_LINEAR

                 afrBins1   = array,  U08,     0,  [8x8],  "Volts",       0.0196,      0,    0.0,   5.0,     2

to
Code: Tout sélectionner
          #elif AEM_LINEAR

                 afrBins1   = array,  U08,     0,  [8x8],  "AFR",       0.038666,      255.0,    10.0,   20.0,     1




4. Now you are going to need to edit your MSQ file. Otherwise, you will get an error saying that units do not match. Search for (line 586):
Code: Tout sélectionner
<constant cols="8" name="afrBins1" rows="8" units="Volts">

and replace it with
Code: Tout sélectionner
          <constant cols="8" name="afrBins1" rows="8" units="AFR">




5. If you originally had AFR target defined in voltages, they will not appear correctly in MegaTune once you re-open your MSQ for editing. You will need to re-enter in the AFR target, but this time in AFR format instead of volts.

MessagePublié: Mar 12 Juin 2007, 11:01 pm
par Glass Shadow
marci !