; ; Parameter definitions file for JECScan ; -------------------------------------- ; ; Entries are of the form: ; ,, ;comment ; ; where: ; ; should match entries in SelectMonitor.ini without "..Address" ; ; defines the number format for printing (like printf()) ; e.g. "%d" = decimal ; "%.2f" = floating point x.xx ; "%x" = hexadecimal ; ; can also include text AFTER A SPACE... ; "%.1 volts" ; "%d RPM" ; ; is a calculation to convert the byte values for output ; ; Note: all three fields must be enclosed in "quotes" ; ; ; Expressions ; ----------- ; The expression evaluator used is by Stéphane Rodriguez from: ; http://www.arstdesign.com/articles/expression_evaluation.html ; ; The parameter names are all used as variable identifiers and may all ; be used in an expression if it ever makes sense ; e.g. ; "EngineLoad" just the value of EngineLoad ; "BatteryVoltage * 0.08" any calculation ; "IgnitionAdvance-KnockCorrection" can use multiple parameters ; ; TonyWilk ; 11 May 2011 ; "IgnitionAdvance", "%d Deg BTDC", "IgnitionAdvance" "KnockCorrection", "%d Deg", "KnockCorrection" "EngineLoad", "%d", "EngineLoad * 100 / 255" "BatteryVoltage", "%.2f V", "BatteryVoltage * 0.08" "VehicleSpeed", "%d MPH", "VehicleSpeed * 1.24274" "EngineSpeed", "%d RPM" "EngineSpeed * 25" "CoolantTemp", "%d Deg F", "(CoolantTemp - 50) * 1.8 + 32" "AirflowSensor", "%.2f V", "AirflowSensor * 5 / 255" "TpsPercent", "%d%%", "TpsPercent * 100 / 255" "ThrottlePosition", "%.2f V", "ThrottlePosition * 5 / 255" "BoostSolenoidDutyCycle","%d%% DC", "BoostSolenoidDutyCycle * 100 / 255" "InjectorPulseWidth", "%.2f ms", "InjectorPulseWidth * 256 / 1000" "InjectorPulseWidthL", "%.2f ms", "InjectorPulseWidthL * 256 / 1000" "InjectorPulseWidthR", "%.2f ms", "InjectorPulseWidthL * 256 / 1000" "ISUDutyValve", "%d%% DC", "ISUDutyValve * 100 / 255" "O2Average", "%.2f V", "O2Average * 5 / 255" "O2Minimum", "%.2f V", "O2Minimum * 5 / 255" "O2Maximum", "%.2f V", "O2Maximum * 5 / 255" "O2AverageL", "%.2f V", "O2AverageL * 5 / 255" "O2MinimumL", "%.2f V", "O2MinimumL * 5 / 255" "O2MaximumL", "%.2f V", "O2MaximumL * 5 / 255" "O2AverageR", "%.2f V", "O2AverageR * 5 / 255" "O2MinimumR", "%.2f V", "O2MinimumR * 5 / 255" "O2MaximumR", "%.2f V", "O2MaximumR * 5 / 255" "O2AverageRear", "%.2f V", "O2AverageRear * 5 / 255" "O2MinimumRear", "%.2f V", "O2MinimumRear * 5 / 255" "O2MaximumRear", "%.2f V", "O2MaximumRear * 5 / 255" "AFCorrection", "%d%%", "(AFCorrection - 128) / 127 * 100" "AFCorrectionL", "%d%%", "(AFCorrectionL - 128) / 127 * 100" "AFCorrectionR", "%d%%", "(AFCorrectionR - 128) / 127 * 100" "AtmosphericPressure", "%.2f psi", "AtmosphericPressure * 0.1547" "ManifoldPressure", "%.2f psi", "( ManifoldPressure - 128 ) / 85 * 14.504" "InputSwitches", "%d", "InputSwitches" "IOSwitches", "%d", "IOSwitches" "TCU_BatteryVoltage", "%.2f V", "TCU_BatteryVoltage * 0.08" "TCU_RearWheelSpeed", "%d MPH", "TCU_RearWheelSpeed * 0.62137" "TCU_FrontWheelSpeed", "%d MPH", "TCU_FrontWheelSpeed * 0.62137" "TCU_EngineRPM", "%d RPM", "TCU_EngineRPM * 25" "TCU_ATFTemperature", "%d Deg F", "TCU_ATFTemperature" "TCU_ThrottlePosition", "%.2f V", "TCU_ThrottlePosition * 5 / 255" "TCU_CurrentGear", "%d", "TCU_CurrentGear + 1" "TCU_SolADuty", "%d%%", "TCU_SolADuty / 2" "TCU_SolBDuty", "%d%%", "TCU_SolBDuty / 2" "TCU_SolCDuty", "%d%%", "TCU_SolCDuty / 2" "TCU_ShiftSolenoids", "%d", "TCU_ShiftSolenoids" "TCU_ShiftPattern", "%d", "TCU_ShiftPattern" "TCU_TPSSourceVoltage", "%.2f V", "TCU_TPSSourceVoltage * 5 /255" "TCU_MAFSignal", "%.2f V", "TCU_MAFSignal * 5 / 255" "TCU_DIO1", "%d", "TCU_DIO1" "TCU_DIO2", "%d", "TCU_DIO2" "TCU_InputSwitches", "%d", "TCU_InputSwitches" "TCU_IOSwitches", "%d", "TCU_IOSwitches" ; ;end ;