#Transforming output values

1 messages · Page 1 of 1 (latest)

woven pebble
#

Hi, i am programming my EGT display tm1637.
The MSFS readout are 850 to 1200 where my desiree output shall be 390 to 850. I can not just say /2 because this will give me a max of 600 on the high end.
Do i have to say for each full number add specific value eg: if($=850,390)($=851,391) and so on or is there a more elegant way?

#

I have even more problems programming this eg N1 i want to have first digit dark until 100.0 is exceeded and then shift to left like on an original dial. Know what i mean? 69.8 the first digit is blank. 101.5 all 4 digits are used

zinc mango
woven pebble
#

Hi Jaime and thank you for the quick response.
Because the A310 has 390⁰ egt @ idle. But the sim value is 850.
So i said $/2.2 and i got 390 on my Display. But when pulling Power the /2.2 doesnt fit anymore because i need a non linear increase. 1200/2.2= 545 but EGT at full power is around 820/850

#

Ok just with Interpolation it worked
I did not know/understand this function.

#

For the second problem with the display shift above hundred do you also have an idea?

zinc mango
#

you sure it is not simply a units conversion issue?

woven pebble
#

There is only 3 variables for EGT generic because there is no Inibuilds A310 egt preset so i have to use generic instead and modify.
But it works with your Interpolation tip

zinc mango
#

this I gotta see

woven pebble
#

No it works great now (second from above)🥳💪

zinc mango
#

you basically saying the model is lying to the simulator by setting the EGT value to a fake number

woven pebble
#

Yes, look

zinc mango
woven pebble
#

392 indicated 854 value

woven pebble
zinc mango
#

try (L:A310_ENGINE1_EGT)

#

(L:A310_ENGINE2_EGT)

#

They are reading about 390 in the sim

woven pebble
#

What is L:A310?

zinc mango
#

L: is the designator for an Lvar

woven pebble
#

I cannot select it from dropdown

zinc mango
#

A310 is a prefix chosen by Inibuilds for the A310 variable and event names

#

just put the code in the preset code box

woven pebble
#

Ufff

#

I am so newbi

zinc mango
#

maybe nobody has included this preset until now

#

this is the code (L:A310_ENGINE1_EGT)

woven pebble
#

But how you find it man there must be so much more then🤦

woven pebble
#

Omg i am crying

zinc mango
#

your original issue with the generic A var is that the default units are degrees Rankine

#

So degrees F= Rankine - 460

#

850 - 460 = 390

#

there is your answer

woven pebble
#

Ok so this would have worked if i just converted f to c .

#

Oh man....
So i could use both this or the L var thingy. I read through your article and i begin to understand. Its a bit oberwhelming but i think i can start now.
Thank you this door is opened from you now!

zinc mango
#

as far as I can tell, the default units on the EGT appear to be degrees Fahrenheit

#

in the aircraft Lvar I mean.

zinc mango
zinc mango
#

well now I have a problem with these values. The cockpit dial clearly says the temperature is in degrees C and reads 390

#

As far as I can search in Google, the normal EGT for a jet engine is about 400C, so that checks out fine.

#

the issue is that the EGT stated in the MSFS generic Avar clearly says it is 850 degrees Rankine. I think this is a mistake in the proper handling of units in the simulator. The correct temperature in Rankine should be more like 1200 degrees, not 850. I guess it is immaterial because it is a simulator anyway.

#

So nothing we can do except, be aware that the EGT as reported by the Avar is mistaken in the Inibuilds A310.

woven pebble
#

Yes, the value of 390 c is correct for CF6 Engine as is 850 c for max egt i know that from real life