TS custom.ini MS2 V3 adding a Fuel and oil Pressure Gauge

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
Breastfed
Helpful MS/Extra'er
Posts: 74
Joined: Wed May 27, 2009 2:47 am

TS custom.ini MS2 V3 adding a Fuel and oil Pressure Gauge

Post by Breastfed »

Hi
Hope this helps anyone looking to add 2 Gauges using both ADC6 & ADC7 with MSextra (MS2 V3.0)
I already had an oil pressure gauge working in TS and I needed to add a Fuel pressure gauge.

Well it took me a while to figure it out with the custom.ini but here's how I did it
1> create a new text document with the following below and save with the name "custom.ini".
2> My custom.ini file is here C:\Users\TOSHIBA\Documents\TunerStudioProjects\My VFRX750-SC RUNNING\projectCfg


[OutputChannels]
oilSensorVoltage = { adc7 * 0.0048876 }
; No use 0psi=.5v 100psi=4.5v to calculate pressure from voltage
oilPressure = { oilSensorVoltage > 0 ? (oilSensorVoltage - 0.45) / 0.04 : 0 }
fuelSensorVoltage = { adc6 * 0.0048876 }
; No use 0psi=.5v 100psi=4.5v to calculate pressure from voltage
fuelPressure = { fuelSensorVoltage > 0 ? (fuelSensorVoltage - 0.45) / 0.04 : 0 }

[Datalog]
entry = oilPressure , "Oil Pressure", int, "%d"
entry = fuelPressure , "Fuel Pressure", int, "%d"


3> Open TS and go to designer mode, configure the gauge properties, you will see Oil Pressure and Fuel Pressure added to the list of available sensors

Breastfed
old guy
Experienced MS/Extra'er
Posts: 362
Joined: Thu Jan 24, 2008 9:20 am
Location: North Carolina

Re: TS custom.ini MS2 V3 adding a Fuel and oil Pressure Gaug

Post by old guy »

A lot easier to use the " Add Custom Channel Wizard" in TS.
jsdevel
Experienced MS/Extra'er
Posts: 318
Joined: Mon May 23, 2016 3:41 pm
Location: Phoenix, AZ

Re: TS custom.ini MS2 V3 adding a Fuel and oil Pressure Gaug

Post by jsdevel »

Where did the 0.0048876 constant come from?
Post Reply