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.

Setting the radio frequencies

Featured Replies

Can anyone tell me what the format of dwVal should be when using the KEY_COM_STBY_RADIO_SET event via simconnect? The SDK help file says it should be BCD Hz, but there's only 8 BCD digits in a doubleword and that's not enough to specifiy the frequency in Hz. I tried 0x00127975 and 0x12797500 neither had any affect.Thanks

  • Commercial Member

>Can anyone tell me what the format of dwVal should be when>using the KEY_COM_STBY_RADIO_SET event via simconnect? The SDK>help file says it should be BCD Hz, but there's only 8 BCD>digits in a doubleword and that's not enough to specifiy the>frequency in Hz. I tried >0x00127975 and 0x12797500 neither had any affect.The documentation is, ahem, wrong, it seems.The Key Events for radios take the same 16-bit BCD encoding they always have done, in all versions of FS since I can remember, and the same format used in the FSUIPC offsets. For 127.975 you use 0x2797. The initial 1 is assumed and the 50Hz bits are assumed for those ending in 2 and 7.The Sim Vars return the frequencies in the same form if you specify "Frequency BCD16" as the unit. The "BCD16" format is the proper name for the ones used by the Events.On the other hand, the KEY_ADF_COMPLETE_SET one uses 0x12345000 for 1234.5, and similarly its Sim Var is "Frequency ADF BCD32".The more things change the more they stay the same, eh? RegardsPete

Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Ahh Pete. You've come to my rescue once again.:-beerchug

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.