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.

Getting Localizer Course whit XML

Featured Replies

Hi All:I am trying to make a gauge that gives my the Course of an ILS (or LLZ).I've tryed whit the NAV 1 LOCALIZER parameter which in the Parameters.doc on Panels SDK is descripted as "Localizer course heading"The idea is that when you select an ILS and it becomes alive, this gauge gives my the Course of the Localizer, for example on PHNL, for RW26L, I want the course of IEPC which is 314, so I could then star to make a gauge that auto set the OBS to the ILS Course.Here is my test code for the moment, I only get a 1 as a response, and I don't Know what could be wrong.%(A:NAV 1 LOCALIZER, degrees)%!s!Yes, it was done ona clock background just by now.Thanks a lot for your help.Helio Regalado

  • Moderator

The value returned is a number, not a "string."!s! is incorrect...use...!3.0f! or !3d! instead...

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

I've chanced the code to !3d! as you told my, and even to !3.0f! but yet I can't get mothing more than a 0.So what could be wrong then?, is the tipe o unit used on the parameter?How could I know what data is behaind any parameter?Here is my code now:%(A:NAV1 LOCALIZER, degrees)%!3d!Thanks a lot for the ideas

  • Author

Hi,You need to add the script's parentheses:%(....)%So, in your case:%((A:NAV1 LOCALIZER, degrees))%Tom

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.