Jump to content
Sign in to follow this  
Guest taku

Barometric Pressure

Recommended Posts

Guest taku

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

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
Guest bartels

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
Guest taku

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...