PDA

View Full Version : Calculated PID Problem



NewV
December 11th, 2006, 06:29 PM
I'm trying to add a PID to convert cylinder grams to ounces so I can use it like its displayed in the tuning tool. With the following calc_pids.txt file I get errors starting scan related to cylairoz not defined. Anybody know what I'm doing wrong here?

# ================================================== ============================
# 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
#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------

None None "" "No units"
cylairoz None oz/Cyl "Ounces per cylinder"


# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------
*CLC-00-600
cylairoz 0.008 0.042 .3 "{GM.CYLAIR_DMA}*28.35"


# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
CALC.CYLAIROZ F600 CLC-00-600 "cylairoz" Air "Oz/Cylinder"

SSpdDmon
December 12th, 2006, 02:22 AM
Why not just change the tuner to grams/cylinder? Here's how you change between units:

http://forum.efilive.com/showthread.php?t=2722&highlight=bullseye

Most of us use metric for anything other than speed or temperature (and sometimes displacement). In order for us to help you easier, it might be a good idea to get used to kPa & grams/second instead of inHg and lbs/minute. Just my $0.02...

NewV
December 12th, 2006, 04:18 AM
SSpdDmon - great point, I should have thought of that.

Blacky
December 12th, 2006, 09:32 AM
================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section

*UNITS

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

None None "" "No units"
cylairoz None oz/Cyl "Ounces per cylinder"



You're missing the *UNITS section header.
Regards
Paul

joecar
December 12th, 2006, 09:44 AM
Paul, good eye. :cheers: