PDA

View Full Version : Calc PID Error - Slot F006 Not Found



Bikey
January 15th, 2015, 10:35 AM
I haven't found anything in a search - I have a calc_pid.txt file that has 6 PIDs in it. The file works fine with 5 PIDS in it (i.e., only going up to F005). Regardless of what PID I enter in or above slot F006, I get a "Slot F006 not found" error when I open the scanner. Let me know if you can see any issue in the calc_pid file, pasted below.

Thanks.





# ================================================== ============================
# 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
#-------- ---------- -------- -------------------------------------------------------------



# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------
*CLC-00-001
V 0.0 5.0 .4 "{EXT.AD1}"
psi 0.0 30.0 .1 "(7.5*{EXT.AD1})-3.75"

*CLC-00-002

V 0.0 5.0 .4 "{EXT.AD21}"
psi 0.0 30.0 .1 "(7.5*{EXT.AD1})-3.75"

*CLC-00-003
V 0.0 5.0 .4 "{EXT.AD3}"
F -4.0 302.0 .0 "-6.51*pow({EXT.AD3},3)+54.6*pow({EXT.AD3},2)-180*{EXT.AD3}+326"

*CLC-00-004
V 0.0 5.0 .4 "{EXT.AD4}"
F -4.0 302.0 .0 "-6.51*pow({EXT.AD4},3)+54.6*pow({EXT.AD4},2)-180*{EXT.AD4}+326"

*CLC-00-005
F 0.0 1800.0 .0 "{EXT.TEMP1}"

*CLC-00-006
F 0.0 1800.0 .0 "{EXT.TEMP2}"



# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
CALC.Pre_Fuel_Psi F001 CLC-00-001 "psi" Fuel "Pre-Filter Fuel Psi"
CALC.Post_Fuel_Psi F002 CLC-00-002 "psi" Fuel "Post-Filter Fuel Psi"
CALC.Pre_Fuel_Temp F003 CLC-00-003 "F" Fuel "Pre-Cooler Fuel Temp"
CALC.Post_Fuel_Temp F004 CLC-00-004 "F" Fuel "Post-Cooler Fuel Temp"
CALC.EGT F005 CLC-00-005 "F" Fuel "EGT"
CALC.Oil Temp F006 CLC-00-006 "F" Fuel "Oil Temp"

joecar
January 15th, 2015, 10:59 AM
This line has a problem:


CALC.Oil Temp F006 CLC-00-006 "F" Fuel "Oil Temp"


it should read CALC.Oil_Temp

( i.e. replace the space with an underscore _ )


Also:
- make sure there are at least 2 blank lines at the end of the file
- make sure that CLC-00-002 does not have a blank line immediately after the CLC-00-002.

Bikey
January 15th, 2015, 12:22 PM
:doh2:
Thanks!!
The underscore did the trick, as I did find your previous posts about the blank lines.