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.

Strange Com change behaviour

Featured Replies

Hi, I am currently builiding an X-Touch mini profile for the M20 Ovation in MSFS.  I've just bound 2 rotaries to change Com1 and Com2.  The increment (COM_RADIO_FRACT_INC_CARRY) works as expected increasing the Com1 frequency (Increment by 25KHz and carry when digit wraps) but the corresponding decrease (COM_RADIO_FRACT_DEC_CARRY) still increases the frequency rather than decreasing it.  This happens for Com1 and Com2 but if I use (COM_RADIO_FRACT_DEC) instead that works as expected but obviously doesn't wrap the digit.

Anyone else seen this and found a solution - I suspect scripting is the only solution (until Asobo fix it) but as a complete noob to RPN I wouldn't know where to start?

Chris

 

  • Commercial Member

 

2 hours ago, ChrisD999 said:

Hi, I am currently builiding an X-Touch mini profile for the M20 Ovation in MSFS.  I've just bound 2 rotaries to change Com1 and Com2.  The increment (COM_RADIO_FRACT_INC_CARRY) works as expected increasing the Com1 frequency (Increment by 25KHz and carry when digit wraps) but the corresponding decrease (COM_RADIO_FRACT_DEC_CARRY) still increases the frequency rather than decreasing it.  This happens for Com1 and Com2 but if I use (COM_RADIO_FRACT_DEC) instead that works as expected but obviously doesn't wrap the digit.

Anyone else seen this and found a solution - I suspect scripting is the only solution (until Asobo fix it) but as a complete noob to RPN I wouldn't know where to start?

Chris

 

This issue has come up before, and I remember that a special RPN command has been included in AAO to do the decimal to BCD16 transformation for you, which is required to write a frequency into the simulator variables: "dec2b16".

Script would look something like this:

(A:COM·ACTIVE·FREQUENCY:1,·khz)·25·-·10·/·dec2b16·(>K:COM_RADIO_SET)

or

(A:COM·STANDBY·FREQUENCY:1,·khz)·25·-·10·/·dec2b16·(>K:COM_STBY_RADIO_SET)

Depending on if you want to change the active or the standby

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks - I'll try that when I'm at my computer again.

Chris

 

Archived

This topic is now archived and is closed to further replies.

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.