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.

Aerosoft Airbus X +(Extended) (module version 2.4)

Featured Replies

  • Author

DspShow is for both versions of combos.

It is a function which uses just 4 digits in the first and second row ... what could Combo I show.

 

There is a possiblity to make more info for Combo II, but I use normaly just DspShow, otherwise I have to make the code double for both versions. Just for special infos I make a difference

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

  • Replies 79
  • Views 41.7k
  • Created
  • Last Reply
  • Commercial Member

VS pull / push:

 

I found out this one:

 

function Autopilot_VS_level ()
   ipc.writeLvar("AB_AP_ALTmode", 0)
   ipc.sleep(10)
   ipc.writeLvar("AB_AP_VS_Select2", 0)
   ipc.sleep(10)
   ipc.writeLvar("AB_AP_VS_Select3", 0)
   DspShow ("VS", "lvl")
   Button3 ()
end
function Autopilot_VS_pull ()
   ipc.writeLvar("AB_AP_VSlevel", -1)
   ipc.writeLvar("AB_AP_VSenb", 1)
   ipc.writeLvar("AB_AP_KNOBALT", 1)
   DspShow ("VS", "mgnt")
   -- AB_AP_DES = 2
   Button3 ()
end

 

Can someone please validate?

I don't know what "AB_AP_KNOBALT" has to do. But without I does'nt work.

 

Please check although

Autopilot_VS_level ()

because i've changed

AB_AP_ALTmode

value from -1 to 0.

 

regards,

peter

: : : aviation.pero-online.de
Developer of SIMstarter NG P3D & Homecockpit Builder

 

I've not had chance to fly with it Peter, but it does look like you could be onto a winner here, the only thing that is missing is the display of the VS selected on the MCP2 Boeing display, hopefully Guenter can do that if you have no reason to use that facility yourself. Sorry I don't have time today to test it in the air, but thank you so far.

Cheers, Andy.

  • Author

Many thanks to Capt "Peter" PERO!!!!

Great! It works!

 

Already uploaded the updated module!

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

  • Commercial Member

Many thanks to Capt "Peter" PERO!!!!

 

Thanks a lot! That's the spirit of LINDA!

Thank you very much for your job, you've found the most LVars. ;O)

: : : aviation.pero-online.de
Developer of SIMstarter NG P3D & Homecockpit Builder

 

  • Commercial Member

Bugfixing:

 

 

I've found several problems that do not occur without LINDA. Therefore find enclosed the following changed functions.

 

Please test it before publishing.

 

- SPD_minusfast ()

did not work (-1 then -10)

 

- Autopilot_HDG_set()

added AB_AP_HDGmode_set = -1

 

- Autopilot_HDG_managed()

added AB_AP_HDGmode_set = 1

 

- ALT_minus / minusfast

permit ALT < 100

 

VS pull / push

- did not work proper in every situation

 

function SPD_minusfast ()
SpdMachVar = ipc.readLvar("AB_AP_SPDMACH")
if SpdMachVar == 0 then
LVarSet = "L:AB_AP_SPEED_Select"
LVarGet = round(ipc.readLvar(LVarSet))
AddVar = 10 elseif SpdMachVar == 1 then
LVarSet = "L:AB_AP_Mach_Select"
LVarGet = ipc.readLvar(LVarSet)
AddVar = 0.1
end
ipc.writeLvar(LVarSet, LVarGet - AddVar)
AB_AP_SPD_show ()end
function Autopilot_HDG_set () LVarSet = "L:AB_AP_HDGmode"
ipc.writeLvar(LVarSet, -1)
LVarSet = "L:AB_AP_HDGmode_set"
ipc.writeLvar(LVarSet, -1) Button3 ()
DspShow ("HDG", "set")
-- sync back to DSP
DspHDG(ipc.readDBL(0x2B00))end
function Autopilot_HDG_managed () LVarSet = "L:AB_AP_HDGmode"
ipc.writeLvar(LVarSet, 1)
LVarSet = "L:AB_AP_HDGmode_set"
ipc.writeLvar(LVarSet, 1)
Button3 ()
DspShow ("HDG", "mngd")end
function ALT_minus ()LVarSet = "L:AB_AP_ALT_Select"
LVarGet = ipc.readLvar(LVarSet)	 if LVarGet >= 200 then
 ipc.writeLvar(LVarSet, LVarGet - 100)
 end
 AB_AP_ALT_show ()end
function ALT_minusfast ()LVarSet = "L:AB_AP_ALT_Select"
LVarGet = ipc.readLvar(LVarSet)
 if LVarGet >= 2000 then
 ipc.writeLvar(LVarSet, LVarGet - 1000)
 end
 AB_AP_ALT_show ()end
function Autopilot_VS_level () --ipc.writeLvar("AB_AP_ALTmode", 0)
--ipc.sleep(10)
ipc.writeLvar("AB_AP_VS_Select2", 0)
--ipc.sleep(10)
ipc.writeLvar("AB_AP_VS_Select3", 0)
ipc.writeLvar("AB_AP_VSlevel", 1)
DspShow ("VS", "lvl")
Button3 ()
end
function Autopilot_VS_pull ()
ipc.writeLvar("AB_AP_VSlevel", -1)
-- ipc.writeLvar("AB_AP_VSenb", 1)
ipc.writeLvar("AB_AP_KNOBALT", 1)
DspShow ("VS", "mgnt")
-- AB_AP_DES = 2
Button3 ()
end

 

Good news for MCP1 Users:

I am working on advanced display functions (AP, Gear, Flaps, etc.) like you've may seen in my Wilco profile. ;O)

: : : aviation.pero-online.de
Developer of SIMstarter NG P3D & Homecockpit Builder

 

  • Commercial Member

Other bugfixing:

 

function AB_XPDR_off ()
  ipc.writeLvar("L:Mod_Xponder_mode", 1)
  ipc.writeLvar("L:Mod_Xponder_knob", 0)
  AdirsKnobRotate ()
  AB_XPDR_show ()
end
function AB_XPDR_stby ()
  ipc.writeLvar("L:Mod_Xponder_mode", 1)
  ipc.writeLvar("L:Mod_Xponder_knob", 0)
  AdirsKnobRotate ()
  AB_XPDR_show ()
end

function AB_XPDR_alt ()
  ipc.writeLvar("L:Mod_Xponder_mode", 2)
  ipc.writeLvar("L:Mod_Xponder_knob", 1)
  AdirsKnobRotate ()
  AB_XPDR_show ()
end
function AB_XPDR_xpdr ()
  ipc.writeLvar("L:Mod_Xponder_mode", 3)
  ipc.writeLvar("L:Mod_Xponder_knob", 2)
  AdirsKnobRotate ()
  AB_XPDR_show ()
end
function AB_XPDR_ta ()
  ipc.writeLvar("L:Mod_Xponder_mode", 4)
  ipc.writeLvar("L:Mod_Xponder_knob", 3)
  AdirsKnobRotate ()
  AB_XPDR_show ()
end
function AB_XPDR_tara ()
  ipc.writeLvar("L:Mod_Xponder_mode", 5)
  ipc.writeLvar("L:Mod_Xponder_knob", 4)
  AdirsKnobRotate ()
  AB_XPDR_show ()
end

-- XPDR inc
function AB_XPDR_inc ()
i = ipc.readLvar("L:Mod_Xponder_mode")
if i < 5 then
   ipc.writeLvar("L:Mod_Xponder_mode", i+1)
   ipc.writeLvar("L:Mod_Xponder_mode_knob", i)
end
   AdirsKnobRotate ()
   AB_XPDR_show ()
end
-- XPDR dec
function AB_XPDR_dec ()
i = ipc.readLvar("L:Mod_Xponder_mode")
if i > 1 then
   ipc.writeLvar("L:Mod_Xponder_mode", i-1)
   ipc.writeLvar("L:Mod_Xponder_mode_knob", i-2)
end
   AdirsKnobRotate ()
   AB_XPDR_show ()
end

: : : aviation.pero-online.de
Developer of SIMstarter NG P3D & Homecockpit Builder

 

  • Commercial Member

Addition functions "Ground Services"

 

-- ## Ground Services ###############
function TrafficCones_set ()
   ipc.writeLvar("L:MCDU_cones", 1)
end
function TrafficCones_removed ()
   ipc.writeLvar("L:MCDU_cones", 0)
end
function TrafficCones_toggle ()
   var = ipc.readLvar("L:MCDU_cones")
   if var == 1 then
    TrafficCones_removed ()
   else
    TrafficCones_set ()
   end
end
function WheelChocks_set ()
   ipc.writeLvar("L:Wheelchocks", 1)
end
function WheelChocks_removed ()
   ipc.writeLvar("L:Wheelchocks", 0)
end
function WheelChocks_toggle ()
   var = ipc.readLvar("L:Wheelchocks")
   if var == 1 then
    WheelChocks_removed ()
   else
    WheelChocks_set ()
   end
end
function ExternalPowerGPU_conn ()
   ipc.writeLvar("L:MCDU_EXTPOWERCART", 1)
end
function ExternalPowerGPU_disc ()
   ipc.writeLvar("L:MCDU_EXTPOWERCART", 0)
end
function ExternalPowerGPU_toggle ()
   var = ipc.readLvar("L:MCDU_EXTPOWERCART")
   if var == 1 then
    ExternalPowerGPU_disc ()
   else
    ExternalPowerGPU_conn ()
   end
end
function ExternalPower_conn ()
   ipc.writeLvar("L:MCDU_EXTPOWER", 1)
end
function ExternalPower_disc ()
   ipc.writeLvar("L:MCDU_EXTPOWER", 0)
end
function ExternalPower_toggle ()
   var = ipc.readLvar("L:MCDU_EXTPOWER")
   if var == 1 then
    ExternalPower_disc ()
   else
    ExternalPower_conn ()
   end
end

: : : aviation.pero-online.de
Developer of SIMstarter NG P3D & Homecockpit Builder

 

Thanks for all your work here.

 

One thing that I came across: when I have the panel lights on at night, and then switch on the navigation or beacon lights, the panel lights switch off, and I have to switch them back on again. Any thoughts?

Petraeus

 

I'd mention that in the Aerosoft forum, there were problems with other lights doing strange things like that before 1.03, it sounds like there are a few other bugs in that area still to squash.

Cheers, Andy.

  • Commercial Member

One thing that I came across: when I have the panel lights on at night, and then switch on the navigation or beacon lights, the panel lights switch off, and I have to switch them back on again. Any thoughts?

 

Hi,

 

I've tested it with the v2.1 auf the LINDA profile and it works fine without the issue.

Can you please explain in detail, which functions do you use in which case that the problem happens.

 

I used:

 

Lights_Panel_on

Lights_Beacon_on

Lights_NAV_LOGO_on

 

and the problem does not occur.

 

Thanks,

peter

: : : aviation.pero-online.de
Developer of SIMstarter NG P3D & Homecockpit Builder

 

I'll respond tomorrow, when I'm back at my PC. However, I can confirm that it only happens when using the LINDA profile, and not when clicking the actual overhead switches with my mouse.

Petraeus

 

  • Author

@ Capt PERO,

 

thanks for your work!

I'm away for a week now. Could you please save your findings/fixes/changes/improvements, I will add them then in february. Simplest way would be then you send me the complete action.lua

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

I'll respond tomorrow, when I'm back at my PC. However, I can confirm that it only happens when using the LINDA profile, and not when clicking the actual overhead switches with my mouse.

 

It happens with Lights WING toggle, Lights NAV on, Lights BEACON on, but not, interestingly, Lights STROBE on.

 

Could it be related to the ipc.setbitsUW processing which is common to the first three, but not the last?

Petraeus

 

Hi all

 

I'm new to Linda, installed it today and all worked fine.

Except the problem with the BEACON Lights mentioned before.

 

btw the code for alle toggle bits can be simplified by replacing the conditional structure with the togglebitsUW command:

 

function Lights_BEACON_toggle ()

 

ipc.togglebitsUW(0x0D0C, 2)

LightSwitch ()

end

 

This does not help with the problem mentioned above... Anyway, thx for the good work!

 

Fred

Archived

This topic is now archived and is closed to further replies.

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.