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
TS custom.ini MS2 V3 adding a Fuel and oil Pressure Gauge
Moderator: LT401Vette
-
- 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
A lot easier to use the " Add Custom Channel Wizard" in TS.
Re: TS custom.ini MS2 V3 adding a Fuel and oil Pressure Gaug
Where did the 0.0048876 constant come from?