Sign in to follow this  
Guest taku

Barometric Pressure

Recommended Posts

I would like to know the unit of "Barometric Pressure" of TokenVar.I'm now making a atomosphic pressure gauge for altimeter.However, it shows "16210" at ground level, when I set pressure as "29.92" at weather menu. If anyone know how to convert "Barometric Pressure" TokenVar to inches HG or Milibar. Of course, any suggestions are so welcome. Thanks in advance.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Try using KOHLSMAN_SETTING_MB or KOHLSMAN_SETTING_HG. That is, if you're using C and not XML. ;-)

Share this post


Link to post
Share on other sites

The tokenvar BAROMETRIC_PRESSURE shows millibars*16, so divide by 16 to get to millibars.Interestingly it seems that AMBIENT_PRES_MBAR shows exact the same value (in this case the *16 factor is already written in the gauges.h).Arne Bartels

Share this post


Link to post
Share on other sites

Thanks Matt & Arne!!Since I'm quite new to gauge making, there is a lot of wonders. Your answers are very helpful for me. Probabmly my question was FAQ. So if there is FAQ pages about gauge making, I would like to know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this