July 25, 20214 yr 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
July 25, 20214 yr 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 July 25, 20214 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.