PDA

View Full Version : Stupidity Sucks



eboggs_jkvl
January 19th, 2006, 05:02 AM
I have this in the PID text file

# ================================================== ============================
# File details
# ------------
#
# This section defines various details about the file format.

*FILE

#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file



# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------

MPG Imperial MPG "Miles Per Gallon"


# ================================================== ============================
# Add slot definitions here
# -------------------------------- ({SAE.VSS.mph})/({GM.INJFLOW.lbpm} *{GM.IBPW1}* {SAE.RPM} * 2 / 6250 )"
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------
*CLC-00-003
MPG 0.00 99.99 .1 "{SAE.VSS.mph}/({GM.INJFLOW.lbpm} * {GM.IBPW1} * {SAE.RPM} * 4 / 6250 )"


# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
CALC.MPG F003 CLC-00-003 MPG Fuel "Miles Per Gallon"



When I cick "save" and close, save the PID as it prompts, reopen the scanner, I see the PID for MPG and I can scan and read data! Great! Whoopie!


Now I want to ADD ANOTHER PID

So back to the PID text and I do this:

#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file



# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------

WBAFR None WBAFR "WB Air Fuel Ratio"


# ================================================== ============================
# Add slot definitions here
-----------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------
*CLC-00-002
WBAFR 10.00 20.00 .1 "{EXT.AD1}*2+9"


# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
CALC.WBAFR F002 CLC-00-002 WBAFR Fuel "WB AF Ratio"


Click "save", close up, save the PID as prompted & reopen the scanner and the MPG is gone but the WBAFR Pid is there. DAMN! Why don't I see BOTH of the PIDs that I created!

Elmer

ringram
January 19th, 2006, 06:20 AM
the file needs to have both pids in it at the same time.

joecar
January 19th, 2006, 06:24 AM
So does your final pid text file contain the definitions for both your MPG and WBAFR pids...?

In your second file I don't see the CLC-00-003/CALC.MPG definitions...

Also, I thought in the MPG formula your 2 should be a 4, shouldn't it (I may be wrong)...?

Edit: I can't find the thread showing the MPG formula... :bawl:
Edit: Never mind, 2 is in the commented out formula and the actual formaula has 4, okay, I'm better now.

Edit: Ringram beat me by 4 minutes... :cheers:

eboggs_jkvl
January 19th, 2006, 06:38 AM
Like this?

#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file



# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------

MPG Imperial MPG "Miles Per Gallon"
WBAFR None WBAFR "WB Air Fuel Ratio"

# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------
*CLC-00-001
MPG 0.00 99.99 .1 "{SAE.VSS.mph}/({GM.INJFLOW.lbpm} * {GM.IBPW1} * {SAE.RPM} * 4 / 6250 )"
*CLC-00-002
AFR 10.00 20.00 .1 "{EXT.AD1}*2+9"

# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
CALC.MPG F001 CLC-00-001 MPG Fuel "Miles Per Gallon"
CALC.WBAFR F002 CLC-00-002 AFR Fuel "WB AF Ratio"

joecar
January 19th, 2006, 08:01 AM
Yes, that appears correct.

Edit: If it's programmable, then you can be certain that it will fail the first few times (or more)...:hihi:

eboggs_jkvl
January 19th, 2006, 08:08 AM
Thank you, I've got 2 new PIDs showing now. Geeze, That needed to be tossed out as a sample somewhere. NO! I didn't find it! :D:D