PDA

View Full Version : Export data and decimal precision



Gelf VXR
January 30th, 2009, 07:37 PM
Forum admin


Is it possible to alter the decimal precision of export data??


What possible use can BEN factor data to 1 decimal place be?

0.9, 1.0, 1.1

I need would like to see 3 and at minimum 2

izaks
January 31st, 2009, 07:43 AM
You can set the precision in sae_generic.txt

Gelf VXR
January 31st, 2009, 03:52 PM
Great

Thanks:cheers:

Highlander
April 3rd, 2009, 12:24 PM
Where and how??? i can't seem to be able to change it :S

izaks
April 3rd, 2009, 07:18 PM
Look for the following in sae_generic.txt in program files/efilive/configuration.

Unsigned Numeric
# ----------------
#
# The units column is the units code from the *UNITS section above.
#
# The Low and High columns are used to determine the chart axis and the
# gauge scales.
#
# The Fmt column defines the numerical format given as width.precision
# where width is the total number of digits counting the decimal point as
# a digit. The precision is the number of digits after the decimal point.
# Width may be omitted to prevent leading spaces being used to pad the
# formatted value. Use precision=0 for no decimal point.
#
# The raw value returned by the PCM is converted into the engineering units
# by either multiplying by or dividing by the Factor depending on the Op(erator)
# Then the Offset is added - Factors and/or offsets may be negative if required.
#Units Low High Fmt Op Factor Offset

Highlander
April 4th, 2009, 05:11 AM
I have changed the FMT but it doesn't do anything... If I change the chart I can see the decimal places I need...

This is on the calc.ben1_E38.

Ninety8C5
April 4th, 2009, 06:12 AM
Go to Folder "C:\Program Files\EFILive\V7.5\Configuration" and open file 'sae_generic.txt'.

Look for this section:

# Serial Wide Band BEN factors
# =============================
*CLC-00-996
factor 0.0 2.0 .1 "{EXT.WO2AFR1}/{E38.AFRATIO_DMA}"
*CLC-00-997
factor 0.0 2.0 .1 "{EXT.WO2AFR2}/{E38.AFRATIO_DMA}"

Change the ".1" to ".3" in both places for 3 decimal places. If you want 2 decimal make them ".2".

You will have to go back and change it if a new update comes out and overwrites the file.