PDA

View Full Version : editing a pid calc



johnv
March 21st, 2006, 02:05 PM
Ok,,
I've just worked out a new error corrected slope and intercept for my wide band analog voltage output (LM1) new slope 1.994012
new intercept 9.943186

so how do I edit the PLX calc formular to correct this ?:nixweiss:

Blacky
March 21st, 2006, 02:58 PM
You should create a new PID in \My Documents\EFILive\V7\User configuration\calc_pids.txt, see attached calc_pids.txt file.
You can also set up your own system name (in this case O2-Wide-JV) so that your PIDs show up in their own section - making them easier to find.

johnv
March 21st, 2006, 11:02 PM
Thanks Blacky,:thankyou2:

PLX o volts = 10 afr
5 volts = 20 afr

I worked the slope and intercept out for this, am I correct in noteing that your calc is based on 0 = 10
5 = 30

so I just change the 30 to 20 in the calc ?

Cheers
John

joecar
March 22nd, 2006, 06:49 AM
In the calc_pids.txt, the 10 and 30 are the "Low" and "High" values used to set the low and high values on a chart y-axis or the low and high tickmarks on a gauge; they are for chart/gauge display only and do not affect the calculation as defined under the "Expression" column.

johnv
March 22nd, 2006, 06:58 AM
In the calc_pids.txt, the 10 and 30 are the "Low" and "High" values used to set the low and high values on a chart y-axis or the low and high tickmarks on a gauge; they are for chart/gauge display only and do not affect the calculation as defined under the "Expression" column.

OK thanks for clearing that up:cheers:

Blacky
March 22nd, 2006, 10:08 AM
You should probably change the 30 to 20 since the chart will never display above 20.
Paul

johnv
March 23rd, 2006, 08:26 AM
You should probably change the 30 to 20 since the chart will never display above 20.
Paul

Done and all works great thanks Paul:banana: