December 13, 20205 yr Commercial Member Hello @ll, the next version of AxisAndOhs will provide read&write access to the internal LVARs of the simulator. LVARs can be queried from the simulator at runtime and are used in the AxisAndOhs RPN scripts. The app will provide a list of all LVARs that are active in the running sim so you can add them to the RPN scripts more easily. The scripts can then be triggered with any compatible external controller (Joystick, MIDI devices, Saitek Panels etc.) or accessed via the AAO WebAPI. If current owners of AAO would be willing to help testing this, please send me an email or a PM here in the forum with your order number. Here are a couple of examples from the QualityWings 787 Pressing the STD Key: 1·(>L:QW_MCP_L_BRST_STD_Button,·Number) Decrease the MCP speed: 1·(>L:QW_MCP_Speed_knob_clicked,·Number) Increase the MCP speed: 2·(>L:QW_MCP_Speed_knob_clicked,·Number) Turn the Window wiper knob right (L:QW_OH_L_WIPER_Switch,·Number)·3·<·if{·(L:QW_OH_L_WIPER_Switch,·Number)·1·+·(>L:QW_OH_L_WIPER_Switch,·Number)·} Turn the Window wiper knob left (L:QW_OH_L_WIPER_Switch,·Number)·0·>·if{·(L:QW_OH_L_WIPER_Switch,·Number)·1·-·(>L:QW_OH_L_WIPER_Switch,·Number)·} Storm lights on 1·(>L:QW_OH_STORM_Button, Number) Storm lights off 0·(>L:QW_OH_STORM_Button, Number) Best regards Edited December 13, 20205 yr by Lorby_SI LORBY-SI
January 20, 20215 yr Vielen Dank Oliver for this! The good news is that this works!! its a huge step forward, congrats on your LVAR/HVAR .wasm module! The not so good news are that I will have to rewire my entire AAO A320Neo logic and that with power now comes responsability. Anyway, Since the X-Touch Mini only has "press" (and not "pull"), the first thing that I tried was enabling SPEED_MODE_SELECTED on the Neo at the same time with INC/DEC MCP speed change via an encoder. Initially I tried by creating an additional binding for H:A320_Neo_CDU_MODE_SELECTED_SPEED to the same INC/DEC encoder event. This seemed to work but only if I enable the SPEED_SELECTED mode on its own first (which beats the purpose), otherwise it resets the speed value to zero every time I rotate the encoder. So i tried instead creating an RPN script that will enable MODE SELECTED only if it is not already on, but this doesnt seem to work. (>H:A320_Neo_CDU_MODE_SELECTED_SPEED,·Number)·0·==·if{1·(>H:A320_Neo_CDU_MODE_SELECTED_SPEED,·Number)·}·els{·0·(>H:A320_Neo_CDU_MODE_SELECTED_SPEED,·Number)·} I guess I may be getting wrong the expected value for the variable to feed the if{ ? Edited January 20, 20215 yr by pty1973cm
January 20, 20215 yr Author Commercial Member 2 hours ago, pty1973cm said: So i tried instead creating an RPN script that will enable MODE SELECTED only if it is not already on, but this doesnt seem to work. The script that you have posted there is a toggle, every actuation sets the speed variable from 0 to 1 and the next sets it back from 1 to 0. Is that what you wanted? I thought that the managed and selected modes were controlled by the SLOT variables and events, see also here: Asobo A320: Managed / Selected AP modes with AxisAndOhs - Lorby-SI Payware - The AVSIM Community The associated variables are of the A: type: (A:AUTOPILOT SPEED SLOT INDEX, Number) etc. Edited January 20, 20215 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.