Page 1 of 1

Setting Multipanel buttonlight based on LVAR doesn´t work

Posted: 02 Mar 2019, 11:17
by Nyruami
Hi, I´m predominantly flying the Aerosoft A320 on P3D v4.4, so I made a profile that should resemble Airbus logic as close as possible. So I wanted the button lights on the Multipanel to be permanently on when the Airbus is in managed mode, and off when it is in selected mode, as there actually is no "off" mode, as long as Autopilot is on.

So I wanted the button light, in this example the light for the ALT selected button to get its state by looking up the LVAR that tells if the AIrbus is in managed mode or not.

I programmed an Altidude Hold (Change Buttonlight) event, in the coditional field I entered "IF AB_AP_ALT_MODE99(LVAR) equals 0" and in the action window I put "Switch Multi Panel ALT to shortmode on (permanent on)" and of course an event that changes the button light to off when the LVAR equals 1

Well, this simply does nothing, the button is in long mode (button blinking), which isn´t actually programmed at all under any conditions, from the start of the simulator and it stays in long mode no matter what I do. When I click on the variable in condition field Spad.next shows it in 0 when I put the Airbus in Altidude managed mode and 1 when I put selected mode, so SPAD.next reads the variable and its content correctly, it just doesn´t care that I want to have the light of the Multi Panel changed based on this variable.

What did I do wrong?

Re: Setting Multipanel buttonlight based on LVAR doesn´t work

Posted: 15 Mar 2019, 19:30
by c0nnex
In the Device Settings set "Light equals Buttonmode" to OFF if you want to control the button lighing yourself. Else SPAD.neXt will handle the lights (and set it to blinking if the button is currently in long mode)