Var for Pneumatic pressure
-
-
Hi reiler,
There is no Lvar for Pneumatic Pressure but all you need to know lies whithin the AnalogKingAir.xml file.
For example the code for this specific item is:
<ANIM_CODE>
(A:TURB ENG BLEED AIR:1, psi) 2 / (A:BLEED AIR ENGINE:1, Bool) * (A:TURB ENG BLEED AIR:2, psi) 2 / (A:BLEED AIR ENGINE:2, Bool) * max 18.2 min
(L:var_surfaceDeiceTimer, number) 0.8 min (L:var_manualDeiceMode, bool) 1 + * - (A:CIRCUIT ON:96, bool) 0.5 * - #MIN_VALUE# - #MAX_VALUE# #MIN_VALUE# - / #END_DEG# #START_DEG# - * #START_DEG# + #ANIM_LENGTH# #TOTAL_DEG# / *#VARIABILITY_RANDOM# #VARIABILITY_RANDOM_MULTI# * + (O:lastAnimValue_pneumaticNeedle, number) - #LowPassConstant# * (O:lastAnimValue_pneumaticNeedle, number) + (>O:lastAnimValue_pneumaticNeedle, number) (O:lastAnimValue_pneumaticNeedle, number)
</ANIM_CODE>it means that the Pneumatic Pressure is basically TURB ENG BLEED AIR 1 or 2 with conditions on BLEED AIR ENGINE:1, BLEED AIR ENGINE:2, CIRCUIT ON:96 (Brake Deice), Var_manualDeiceMode and Var_surfaceDeiceTimer
I use Air Manager but I guess Mobifly is similar so you can rewrite the logic above to feed your pressure gage.
That's the way I went and it works...
Francois -
To get the exact needle position with all of its logic and effects, you could also add your own L:Var
(>L:var_pneumaticPressure, psi)right before</ANIM_CODE>in that file. -
-
Oh, actually, make sure that's
d (>L:var_pneumaticPressure, psi), or else the gauge in the cockpit will stop working. Sorry. -
Thank you @altack and @Black-Square
I originally bought the King Air from Marketplace, and it did not contain the AnalogKingAir.xml file.
Now I have (also) bought it from Just flight, also because I want to move to MSFS2024, and I could not get it to work with the Marketplace version (lesson learned...)
But now I have the file, my chances are much better

Thanks for your help.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login