Mitsulogger formula to Logworks formula
I am trying to get Logworks to log fuel trims the same way as Mitsulogger does. Logworks logs trims in degrees and not in percentages. Here are the formulas from Mitsulogger.
<Request LogReference="FuelTrim_Low" RequestID="0C" Eval="int(.1961*x)-25" Unit="%" Logged="y" Response="2"/>
<Request LogReference="FuelTrim_Middle" RequestID="0D" Eval="int(.1961*x)-25" Unit="%" Logged="y" Response="2"/>
<Request LogReference="FuelTrim_High" RequestID="0E" Eval="int(.1961*x)-25" Unit="%" Logged="y" Response="2"/>
And here are the formulas from Logworks:
<datachannel id="#0C" name="STFTrim" selected="0" units="deg" min="-100" max="100" expr="(x*(100/128))-100" type="0"/>
<datachannel id="#0D" name="MTFTrim" selected="0" units="deg" min="-100" max="100" expr="(x*(100/128))-100" type="0"/>
<datachannel id="#0E" name="LTFTrim" selected="0" units="deg" min="-100" max="100" expr="(x*(100/128))-100" type="0"/>
And here is what I came up with, but I got a parsing error when I tried to log with Logworks:
<datachannel id="#0C" name="STFTrim" selected="1" units="%" min="-100" max="100" expr="int(.1961*x)-25" type="0"/>
<datachannel id="#0D" name="MTFTrim" selected="1" units="%" min="-100" max="100" expr="int(.1961*x)-25" type="0"/>
<datachannel id="#0E" name="LTFTrim" selected="1" units="%" min="-100" max="100" expr="int(.1961*x)-25" type="0"/>
What am i doing wrong? Can anyone help me with this?
<Request LogReference="FuelTrim_Low" RequestID="0C" Eval="int(.1961*x)-25" Unit="%" Logged="y" Response="2"/>
<Request LogReference="FuelTrim_Middle" RequestID="0D" Eval="int(.1961*x)-25" Unit="%" Logged="y" Response="2"/>
<Request LogReference="FuelTrim_High" RequestID="0E" Eval="int(.1961*x)-25" Unit="%" Logged="y" Response="2"/>
And here are the formulas from Logworks:
<datachannel id="#0C" name="STFTrim" selected="0" units="deg" min="-100" max="100" expr="(x*(100/128))-100" type="0"/>
<datachannel id="#0D" name="MTFTrim" selected="0" units="deg" min="-100" max="100" expr="(x*(100/128))-100" type="0"/>
<datachannel id="#0E" name="LTFTrim" selected="0" units="deg" min="-100" max="100" expr="(x*(100/128))-100" type="0"/>
And here is what I came up with, but I got a parsing error when I tried to log with Logworks:
<datachannel id="#0C" name="STFTrim" selected="1" units="%" min="-100" max="100" expr="int(.1961*x)-25" type="0"/>
<datachannel id="#0D" name="MTFTrim" selected="1" units="%" min="-100" max="100" expr="int(.1961*x)-25" type="0"/>
<datachannel id="#0E" name="LTFTrim" selected="1" units="%" min="-100" max="100" expr="int(.1961*x)-25" type="0"/>
What am i doing wrong? Can anyone help me with this?
Here ya go:
<datachannel id="#0C" name="LTFT Lo" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0D" name="LTFT Mid" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0E" name="LTFT Hi" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0F" name="STFT" units="deg" min="-50" max="50" expr="(x*.1961)-25" type="0"/>
0C, 0D, and 0E are your long term fuel trims. 0F is your short term fuel trim, also known as O2 feedback by some.
Eric
<datachannel id="#0C" name="LTFT Lo" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0D" name="LTFT Mid" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0E" name="LTFT Hi" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0F" name="STFT" units="deg" min="-50" max="50" expr="(x*.1961)-25" type="0"/>
0C, 0D, and 0E are your long term fuel trims. 0F is your short term fuel trim, also known as O2 feedback by some.
Eric
Here ya go:
<datachannel id="#0C" name="LTFT Lo" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0D" name="LTFT Mid" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0E" name="LTFT Hi" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0F" name="STFT" units="deg" min="-50" max="50" expr="(x*.1961)-25" type="0"/>
0C, 0D, and 0E are your long term fuel trims. 0F is your short term fuel trim, also known as O2 feedback by some.
Eric
<datachannel id="#0C" name="LTFT Lo" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0D" name="LTFT Mid" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0E" name="LTFT Hi" units="deg" min="-25" max="25" expr="(x*.1961)-25" type="0"/>
<datachannel id="#0F" name="STFT" units="deg" min="-50" max="50" expr="(x*.1961)-25" type="0"/>
0C, 0D, and 0E are your long term fuel trims. 0F is your short term fuel trim, also known as O2 feedback by some.
Eric
The STFT is in the single digits during cruise and goes inot the teens @ idle.
My car is on stock injectors and stock latency tables. I do not know why mine are so high?
LTFT Lo is for idle
LTFT Mid is for cruise
Don't worry about LTFT High
STFT is what will eventually be pushed into the LTFT.
If your LTFTs are very positive, then you may be getting unmetered air into your engine. Do you have your breather hose disconnected (the hose from the valve cover to your turbo intake pipe)? Do you have any boost/vacuum leaks at all?
Eric
LTFT Mid is for cruise
Don't worry about LTFT High
STFT is what will eventually be pushed into the LTFT.
If your LTFTs are very positive, then you may be getting unmetered air into your engine. Do you have your breather hose disconnected (the hose from the valve cover to your turbo intake pipe)? Do you have any boost/vacuum leaks at all?
Eric
I'll have to look at my CarPC maybe tomorrow for you.
It should be very similar to what is shown above for Mitsulogger. Just look at the lines that are in EvoScan now and change the calculation to:
Eval="(0.1961x)-25"
Then make sure that the addresses are correct (EvoScan has the LTFT Lo and High switched) and that any min and max values are set properly so that you can show both negative and postive numbers. I think the LTFTs are from -12.5 - + 12.5, but to be safe just use -25 - +25. The LTFTs I think have a bigger resolution from -25 to +25, so just be on the safe side and make those limits -50 to +50.
The correct addresses should be:
0C - LTFT Lo
0D - LTFT Mid
0E - LTFT High
0F - STFT
Eric
It should be very similar to what is shown above for Mitsulogger. Just look at the lines that are in EvoScan now and change the calculation to:
Eval="(0.1961x)-25"
Then make sure that the addresses are correct (EvoScan has the LTFT Lo and High switched) and that any min and max values are set properly so that you can show both negative and postive numbers. I think the LTFTs are from -12.5 - + 12.5, but to be safe just use -25 - +25. The LTFTs I think have a bigger resolution from -25 to +25, so just be on the safe side and make those limits -50 to +50.
The correct addresses should be:
0C - LTFT Lo
0D - LTFT Mid
0E - LTFT High
0F - STFT
Eric



