Instant fuel consumption in TS
Moderator: LT401Vette
Instant fuel consumption in TS
Hello all,
Back in the day when I was at MS1 I found an explanation here how to configure TS to show instant fuel consumption on one gear and it worked. It seems though that MS2 configuration is not as MS1 so I can no longer use the same method now.
I am looking for a way to do it, both instant and average fuel consumption. I am using MS2 3.4.0 firmware.
Back in the day when I was at MS1 I found an explanation here how to configure TS to show instant fuel consumption on one gear and it worked. It seems though that MS2 configuration is not as MS1 so I can no longer use the same method now.
I am looking for a way to do it, both instant and average fuel consumption. I am using MS2 3.4.0 firmware.
-
- Experienced MS/Extra'er
- Posts: 276
- Joined: Sat Mar 30, 2013 3:27 pm
- Location: MA, USA
Re: Instant fuel consumption in TS
I can't help you out totally, but I like to use the instant fuel consumption gauge configured for gallons per hour. While driving, if I'm curious about MPG's, I take my instantaneous speed divided by the GPH readout from TS. What's nice about this is that it is not gear dependent.
1990 Nissan 240sx / SOHC KA-T / DIYPNP
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Instant fuel consumption in TS
What you need to do is create / Edit a custom.ini
Add an OutputChannel named userSpeedMph
put that custom.ini in the folder:
[YourTSProjectFolder]/projectCfg/
Then in TS select:
Data Logging --> Performance & Economy Fields
Set Vehicle Speed Source to: userSpeedMph
Add an OutputChannel named userSpeedMph
Code: Select all
[OutputChannels]
userSpeedMph = { an expression to derive speed based on RPM }, "MPH"
[YourTSProjectFolder]/projectCfg/
Then in TS select:
Data Logging --> Performance & Economy Fields
Set Vehicle Speed Source to: userSpeedMph
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Instant fuel consumption in TS
Finally got the time to play with the car again after the winter.
So it seems I have done something wrong as I got this error after editing the INI lately:
1 Errors:
Error: Variable 'RPM' used in expression, but not defined as OutputChannel or Setting Parameter in M2, Problem at:
[mainController.ini]:[Line:5242]: userSpeedMph = { (RPM*3.14*576.58)/4.22 }
Should I do something about "RPM" also? Any ideas?
Thanks.
PS: I think I found the solution. It seems that the variables there are case sensitive. I just had to write "rpm", small letters.
So it seems I have done something wrong as I got this error after editing the INI lately:
1 Errors:
Error: Variable 'RPM' used in expression, but not defined as OutputChannel or Setting Parameter in M2, Problem at:
[mainController.ini]:[Line:5242]: userSpeedMph = { (RPM*3.14*576.58)/4.22 }
Should I do something about "RPM" also? Any ideas?
Thanks.
PS: I think I found the solution. It seems that the variables there are case sensitive. I just had to write "rpm", small letters.
Re: Instant fuel consumption in TS
Today I drove the car but without success as both gauges stay at 0.0. They are GaugeInstantLiterPer100Km and GaugeAvgLiterPer100Km.
I have set all vehicle specifications in TS, speed in KpH and fuel in Liters. I do not get the above error any more while loading the project.
Not sure what to do next.
I have set all vehicle specifications in TS, speed in KpH and fuel in Liters. I do not get the above error any more while loading the project.
Not sure what to do next.
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Instant fuel consumption in TS
Make a project Archive and send it to support <at> efianalytics.com with a reference to this thread.
We will take a look at it and see what's up.
We will take a look at it and see what's up.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Instant fuel consumption in TS
I had some misunderstanding about the ini files. When I did it exactly as quoted above, it works now OK.LT401Vette wrote:What you need to do is create / Edit a custom.ini
Add an OutputChannel named userSpeedMph
put that custom.ini in the folder:Code: Select all
[OutputChannels] userSpeedMph = { an expression to derive speed based on RPM }, "MPH"
[YourTSProjectFolder]/projectCfg/
Then in TS select:
Data Logging --> Performance & Economy Fields
Set Vehicle Speed Source to: userSpeedMph
The calculation is correct only for one gear of course.
-
- Super MS/Extra'er
- Posts: 12697
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Instant fuel consumption in TS
In TS3 the settings for userSpeedMPH have been added to the UI as normal inputs.
Also, TS3 has a UI based ini editor, so that should make life easier in the near future.
Also, TS3 has a UI based ini editor, so that should make life easier in the near future.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html