Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML Autopilot Gauge

Featured Replies

I am desigining an autopilot gauge and want to display the NAV1 direction (VOR1 OBS) on the gauge. I have been using the XML code that is in the Boeing 747 cab file, as my examples. I have drawn new bitmaps and have everything coded and working, except for this one item. The panel for the Learjet has it displayed, so I know it can be accomplished. I have tried using each these two examples of code (one for each of the three digits) and neither example will work. I have the mouse coded so it will actually change the VOR1 gauge, but the digits on my gauge will not change. What am I doing wrong?Example 1:(A:Autopilot NAV1 lock dir, degrees) 359 + dnor 1 + s1 100 / 10 % flr l1 100 % 99 > if{ l1 10 % 9 - + }Example 2:(A:VOR1 OBI dir, degrees) 359 + dnor 1 + s1 100 / 10 % flr l1 100 % 99 > if{ l1 10 % 9 - + }Thanksgreenco

  • Author

Hi,Not totally clear to me.If you want to see the OBS, you could use:%((A:NAV1 OBS, degrees) dnor)%!03d!Or a needle, sort of rmi: (A:NAV1 radial, radians) (A: Plane heading degrees gyro, radians) - pi +Hope it helps,Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Thanks a million Jan!!!Your info for the worked perfectly. I have been fighting this for three days.Thanks againgreenco

Jan, I was able to use your info to do the same thing with the verticle speed, altitude and heading indicators. Not only was it a lot easier, but the digits also look much sharper. I spent a few days trying to program the gauge, using the Boeing 747 cab files (as examples), but this method only took a few hours. I am indebted to you for pointing me in the right direction. I will consider the first attempt a "learning experience" and move on.Thanks againgreenco

  • Author

Hi,You 're welcome.Same for IAS or MACH.Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.