Sensor data log not reporting correctly

vlittle

Active Member
Joined
May 7, 2006
Messages
540
I have defined a Degree-Volts function that takes the output of my ignition controller which provides 10 mV per degree of timing advance.

This function displays properly on my engine screen.  It normally reads 0 with the ignition off, 20 (degrees) with the ignition on, and varies with timing advance in flight.

However, the data log shows either 0 or 9.999 when the ignition is on.

Is there a setup or parameter that needs to be tweaked for this to be displayed properly in the log?


Thanks, Vern

+sensor={
id=ELECTROAIR TIMING METER
function=VOLTS
pins=C37_P31 C37_PIN8 C37_PIN22
name=TIMING
name=DEGREE
name=BTDC
min_val=0
max_val=40
resolution=0
round=1
is_piecewise=0
low_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=100
c_x0=0
}
low_resistance=NONE
low2high_cross=0
high_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=0
c_x0=0
}
high_resistance=NONE
high2low_cross=0
window=.1
shift=5
age=16
}
 

dynonsupport

Dynon Technical Support
Staff member
Joined
Mar 23, 2005
Messages
13,226
Vern,
You're running into a known limitation, where inputs defined as voltages have a max value in the datalog of 9.999. Not 9.999V, but 9.999 after you do the math.

Here' s a discussion about this from before, and some possible solutions:

http://dynonavionics.com/cgi-bin/yabb2/YaBB.pl?num=1364499916
 

vlittle

Active Member
Joined
May 7, 2006
Messages
540
Thanks, my readout is now "BTDC PSI" rather than "BTDC VOLTS". Neither makes sense, but PSI is at least closer to the principal of timing advance based on air pressure.

Vern
 
Top