Sign in to follow this  
roliflight

VRInsight Combo Airbus - Metric Altitude

Recommended Posts

Hallo,

 

im am a newbee and i have a little problem, on the Vrinsight combo Airbus steyle is a little

button named matric alt. I can not find a Linda control to activat this funktion.

I have traced the LVars an found 2 LVars by pushing this button at FSX.

AB_AP_Metric = 1

AB_AP_Metric = 0

AB_AP_Metric_REL = 1

AB_AP_Metric_REL = 0

I tried to write a funktion but the funktion did not work because i am not the great programmer.

Can somebody help me and show me, how the funktion is correct.

Excause my bad english.

 

Many thanks

 

roliflight

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi roliflight

 

Welcome to LINDA. Personally, I use the Metric Alt button the Airbus FCU to toggle the Altitude Step from 100 to 1000 because most of the world does not use metric altitude.

 

You have correctly identified the Lvars required for control the Metric Altitude button. The new functions you require are:

 

function Autopilot_Metric_on ()
    LVarSet = "L:AB_AP_Metric"
    ipc.writeLvar(LVarSet, 1)
    SmallOverheadPushButtons ()
    DspShow ("ft-m", "on")
end

function Autopilot_Metric_off ()
    LVarSet = "L:AB_AP_Metric"
    ipc.writeLvar(LVarSet, 0)
    SmallOverheadPushButtons ()
    DspShow ("ft-m", "off")
end

function Autopilot_Metric_toggle ()
    if _tl("L:AB_AP_Metric", 0) then
        Autopilot_Metric_on ()
    else
        Autopilot_Metric_off ()
    end
end
 

These will be included in the next update of the Aerosoft Airbus module.

Share this post


Link to post
Share on other sites

Hi Scotflieger,

 

many thanks, the functions are working properly.

Linda is a great software!!!

another question, i want to build a panel with control-lights for AP, FD, Gear and so on.

Linda is in a position, such a panel to operate?

Many thanks an have a good time

Share this post


Link to post
Share on other sites

Hi Roliflight

 

LINDA is not able to control output to other devices as designed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this