Interface an Opencockpits FMC
-
Hello,
I'm looking to connect my Boeing 737 FMC to control the one on the 146. The LSK buttons, the keyboard and the common buttons with the 146.
There are some promising LVARs, for example :
- PED_FWD_L_FMS_Lsk_1L
- PED_FWD_L_FMS_Lsk_1L_ANIM
- PED_FWD_L_FMS_1
- PED_FWD_L_FMS_1_ANIM (press digit 1)
- PED_FWD_L_FMS_A
- PED_FWD_L_FMS_A_ANIM
- etc.
I try to read the values when I press the corresponding button. The first variable remains at 0 while the button animation temporarily changes to 1 when clicked.
Any ideas?
-
The one who fits this description :
This manual provides details of how to use the Universal UNS-1 Flight Management System (FMS) which is
integrated into the Just Flight Professional series of aircraft for Microsoft Flight Simulator (MSFS -
Thanks for confirming. That's the 'Classic' UNS-1 FMS so the LVars you listed above are correct.
In theory, all you should need to do to trigger a key press is to set the values of "PED_FWD_L_FMS_A" to "1". That will register as a press on the FMS and our code will then reset the LVar back to "0". Note that you likely will not see any animation on the buttons with this method, and we're not too sure there is a method that will allow for the animation to properly trigger with the press detection.
The above example is for the "A" key on the left FMS, but you can use similar LVars for the other keys "PED_FWD_L_FMS_Lsk_1L", "PED_FWD_L_FMS_1", etc
Hope that helps.
Mark - Just Flight
-
Hello,
thank you for the clarification. Indeed, sending a “1” on the LVAR “PED_FWD_L_FMS_A” will simulate the click on the letter A of the FMC and return to 0 immediately afterwards. I don't need the animation :)
There's still some weaving left to do.