Custom Sensor HYD PRESSURE only logs 999.9 PSI max

kurtfly

I love flying!
Joined
Jun 21, 2014
Messages
292
I have a custom sensor defined in my .SGF, shown below. My HYD Pressure is for the landing gear pressures, UP and DOWN. I routinely see pressures at the 800 to 2000 PSI range on the Skyview display. However, when I download the User Data files the CSV column that contains this parameter is maxed out at 999.9 PSI. Even though I know it is much higher pressure. Is the User logs limited to 4 digits? How do I allow for 4 significant digits like 9999 psi. I thought changing the resolution=1 would do it, but it affects decimal places displayed.

sensor={
id=UMA 2000 PSIG HYDRAULIC PRESSURE
;UN-VERIFIED
function=PRESSURE
pins=C37_P8 C37_P22 C37_P23 C37_P31
name=HYD PR
min_val=0
max_val=2500
resolution=0
round=10
is_piecewise=0
low_coeff={
c_x4=0
c_x3=0
c_x2=0
c_x1=502.4745
c_x0=-270.6722
}
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=.5
shift=6
age=80
}
 
Last edited:

swatson999

Well-Known Member
Joined
Oct 6, 2010
Messages
1,653
You're using an Enhanced GP input pin, so it's most likely that the data log output for that is the same as the serial output data for such a pin (although Dynon would have to confirm this). From the installation manual:

The output for GP input pins is:
• Each output is in the format +YYYYZ
o + is the +/- sign for the value
o YYYY is the value of the signal
o Z is the units for the signal
▪ ...
▪ P if the signal is in pressure, and the units are 1/10 PSI
• YYYY is 1/10th PSI, so 0123 = 12.3 PSI
• XXXX if the signal is out of range (red X on ems page)
• ZZZZ if the input is not configured
That means the highest number that the serial output could handle is, yep, 999.9.

But again, Dynon will have to confirm this.

If that is true, one option might be to finagle the coefficients so that you display (and output) percentages 0-100% instead of EUs. Just a thought...
 

kurtfly

I love flying!
Joined
Jun 21, 2014
Messages
292
Dave from Dynon confirmed that there is an issue with the logging of values greater than 999.9. It is a bug that they are aware of and working on fixing it.

kurt
 
Top