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.

Pulling Strings ......

Featured Replies

Is there a parameter that returns a 'Heading' or 'Course' to Nav1 and 2?Rgds: Jeff

I have not tried, but you might want to check out VOR1_BEARING_DEGREES or VOR2_BEARING_DEGREES, resp.Cheers,Etienne

Thanks Etienne, I'm still new at this. I understand that those are token variables, but I'm unsure how to get them to display the variable as a printable string.I doubt I can simply use:%((A:VOR1_BEARING_DEGREES, degrees))%!03.0d!Haven't tried it, (have to wait 'til I get home from work), but VOR1_BEARING_DEGREES looks a lot like an event ID. Will it work as above?Rgds: Jeff

Oops, sorry. Assumed you were talking C++. In that case though I don't know the answer to to your question. Some XML guy please step in here and help Jeff out. :) AFAIK XML token variables differ from the C++ ones.Etienne

Hi,Not tested, but experiment with:%((A:NAV1 Radial,radians) (A:NAV1 MAGVAR,radians) - rddg 180 + dnor)%!03d!Hope it helps,Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

This works for me:%((A:NAV1 Radial,degrees) 180 +)%!03d!Cheers, Bob

Dell410, Core2Duo E6700, 2.66Ghz, 2GB ram, nVidia 7900GTX/512MB/195.62 driver, FSX/sp1, UTX USA, Fsgenesis

Stunning help Jan and Bob!Tried Jan's coding last night and it worked like a charm, gonna try yours tonight Bob. Got interested in Jan's code so I did a little study to see if I could perhaps understand it. I gather rddg converts radians to degrees and dnorm normalizes (whatever that means). I particularily liked the automatic mag.var. adjustment.On the other hand, the more I learn...the less I know!Thanks again guys, and Merry Christmas.

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.