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.

dmenne

Members
  • Joined

  • Last visited

  1. Below is the result of an hour-long fight with Claude. I hope I do not violate forum rules by pasting the final summary here, it could be helpful and has been checked by me. # AxisAndOhs RPN Setup: Fenix A320 RMP Frequency Tuning (MHz/kHz toggle via CON button) **Hardware setup:** A physical rotary encoder for the RMP frequency plus a separate push button ("CON"), e.g. on a custom pedestal build. The encoder should increment/decrement the active digit group (MHz or kHz), and the CON button toggles between the two modes. ## Background / How it works The Fenix A320 RMP has **two separate physical encoders** on the frequency shaft (OUTER = MHz digits, INNER = kHz digits), driven via these LVARs: - `E_PED_RMP{n}_OUTER` – MHz steps (integer) - `E_PED_RMP{n}_INNER` – kHz steps (integer) `{n}` = 1, 2, or 3, depending on the RMP panel. These LVARs work as simple counters: each write with an incremented/decremented value corresponds to one detent step on the real panel. **Important:** There's no native Fenix variable that "switches" between INNER/OUTER — that has to be simulated entirely in AAO, using your own local AAO variable (`L:`) that is never written to the sim, only used internally to control script flow. > ⚠️ Pitfall: There's an LVAR called `FNX320_INPUT_KNOB_PUSHPULL_E_PED_RMP1_INNER_KNOB` that looks like a push/pull state for the RMP knob. It is **not** — it belongs to the FCU HDG/SPD knob. If your RMP has separate INNER/OUTER buttons (no pull function), ignore it. ## 1. CON button (toggle MHz/kHz mode) ``` // Reads the AAO-internal toggle state (0 = MHz/OUTER, 1 = kHz/INNER) // and flips it on every button press. (L:RMP1_STEP_KHZ, Number) 0 == if{ 1 (>L:RMP1_STEP_KHZ, Number) } // was 0 (MHz) -> set to 1 (kHz) els{ 0 (>L:RMP1_STEP_KHZ, Number) } // was 1 (kHz) -> set to 0 (MHz) ``` ## 2. Encoder turned clockwise (increment) ``` // Depending on mode, increments either the MHz or the kHz Fenix LVAR by 1 (L:RMP1_STEP_KHZ, Number) 0 == if{ (L:E_PED_RMP1_OUTER, Number) ++ (>L:E_PED_RMP1_OUTER, Number) } // MHz step els{ (L:E_PED_RMP1_INNER, Number) ++ (>L:E_PED_RMP1_INNER, Number) } // kHz step ``` ## 3. Encoder turned counter-clockwise (decrement) ``` // Same logic, decrement instead of increment (L:RMP1_STEP_KHZ, Number) 0 == if{ (L:E_PED_RMP1_OUTER, Number) 1 - (>L:E_PED_RMP1_OUTER, Number) } els{ (L:E_PED_RMP1_INNER, Number) 1 - (>L:E_PED_RMP1_INNER, Number) } ``` ## For RMP2 / RMP3 Just replace `RMP1` consistently with `RMP2` or `RMP3` throughout: - `L:RMP1_STEP_KHZ` → `L:RMP2_STEP_KHZ` / `L:RMP3_STEP_KHZ` - `E_PED_RMP1_OUTER` → `E_PED_RMP2_OUTER` / `E_PED_RMP3_OUTER` - `E_PED_RMP1_INNER` → `E_PED_RMP2_INNER` / `E_PED_RMP3_INNER` ## Assignment in AAO - CON button → Script 1, as "Button" (not Repeat) - Encoder CW → Script 2, enable "Repeat" if you want fast spin-through - Encoder CCW → Script 3, enable "Repeat" if you want fast spin-through --- *Tested with AxisAndOhs (current version, MSFS2020/2024) and the Fenix A320. Exact LVAR names were verified via Dev Mode → Tools → Behavior in the Fenix model (`Cockpit_Behavior.xml`, `UseTemplate Name="FNX32X_Interact_Knob_Infinite_Template"`).*
  2. I had tried that, but forgotten to add a wait. This works 1·(>L:S_ECAM_TO,·Number)·(WAIT:100)·0·(>L:S_ECAM_TO,·Number)
  3. Using A320, Fenix, MS2024, and the suggestion in the above link I got the script part below when hovering over TO CONFIG ``` (M:Event)·'LeftSingle'·scmi·0·==·if{·(L:S_EtCAM_TO)·++·(>L:S_ECAM_TO)·}· (M:Event)·'LeftRelease'·scmi·0·==·if{·(L:S_ECAM_TO)·++·(>L:S_ECAM_TO)·}· ``` I tried multiple variants of the above; as given, it is syntactically incorrect, but the part in {} is valid. Nothing happens, no error in the debug window (This is a repost of the original, which for unknown reasons appeared in a subpage)
  4. Using A320, Fenix, MS2024, and the suggestion in the above link I got the script part below when hovering over TO CONFIG ``` (M:Event)·'LeftSingle'·scmi·0·==·if{·(L:S_EtCAM_TO)·++·(>L:S_ECAM_TO)·}· (M:Event)·'LeftRelease'·scmi·0·==·if{·(L:S_ECAM_TO)·++·(>L:S_ECAM_TO)·}· ``` I tried multiple variants of the above; as given, it is syntactically incorrect, but the part in {} is. Nothing happens, no error in the debug window
  5. Same problem here: Deleted IFLY_737MAX_CDU It's back after a restart The only refererence I found was in LorbyAxisAndOhs_MSFS2024.exe Same for LSHMD_CDU PMDG also cannot be removed, but is not found in exe The only plane I have besides the default Basic is Fenix What are these script good for?

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.