Jump to content

Sign in to follow this  
copilot767

Little help :) Pack 1 one button Aerosoft Airbus

Recommended Posts

Hello...

I can add overhead PACK 2 button as toggle - and it works..

But PACK 1 button toggle do not work - On and off work - but not toggle ..

 

What do I have to edit ?

 

Chris from Denmark

Share this post


Link to post
Share on other sites

Hi Chris

Thank you for your report. It is will be fixed in the next release (v0.5beta).

To fix it yourself:

  1. Click Edit and Edit Actions to open action.lua in the LINDA Editor.
  2. Enter AB_Pack1 in the Search field.
  3. Enter AB_OVH_Pack1 in the Replace field.
  4. Tick the All checkbox.
  5. Press F4.

This will correct the error.

 


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

Hello Andrew, thank you for the module and so fast as well. Updated to v0.5beta and found out a little problem with the HDG_PLUS AND PLUS_FAST

Was able to find the problem. Here it is and its working for me now. If I find something else will let you know. Take care.

The code fixed:

function AB_HDG_plus ()
    AB_hdgtrk = ipc.readLvar("AB_AP_HDGTRK")
    if AB_hdgtrk == 0 then
        LVarSet = "AB_AP_HDG_Select"
    else
        LVarSet = "AB_AP_TRK_set"
    end
    LVarGet = round(ipc.readLvar(LVarSet))
    AddVar = LVarGet + 1
    if AddVar > 359 then
        AddVar = 0
    end
    DspHDG(AddVar)
    ipc.writeLvar(LVarSet, AddVar)
end

function AB_HDG_plusfast ()
    AB_hdgtrk = ipc.readLvar("AB_AP_HDGTRK")
    if AB_hdgtrk == 0 then
        LVarSet = "AB_AP_HDG_Select"
    else
        LVarSet = "AB_AP_TRK_set"
    end
    LVarGet = round(ipc.readLvar(LVarSet))
    AddVar = LVarGet + 10
    if AddVar > 359 then
        AddVar = AddVar - 359
    end
    DspHDG(AddVar)
    ipc.writeLvar(LVarSet, AddVar)
end


Jay Marin

Share this post


Link to post
Share on other sites

Hello Andrew,

Another things not working for me are the LSK keys, I was looking at the lua and I found some weird spelling on the MCDU MDCU, did try to play with some parameters but none worked for me. Maybe I'm doing something wrong? Again, I know this is a beta so if I find something else I will keep posting. 😉

 

Edited:

Ok, after further checking, I think it was just an error of spelling, this is the original line and after I changed it, now it is working.

Let me show you the left MCDU LSK 6R key

Original

function AB_PED_MDCU_LSK_6R ()
    ipc.writeLvar("AB_PED_MDCU_LSK_6R", 1)
    AB_PED_MCDU_CLICK ()
end

Edited

function AB_PED_MCDU1_LSK_6R ()
    ipc.writeLvar("MCDU_LSK6R", 1)
    AB_PED_MCDU_CLICK ()
end

Note: On the edited one, I changed the function name to reflect the MCDU1 instead of leaving it with no number, just for reference only. I will edit them tomorrow and post it here in case you just want to copy and paste to make it easy for you, I know you are working hard on this modules.

Take care.

Edited by jotafl
more finding

Jay Marin

Share this post


Link to post
Share on other sites

Many thank Jay for your 2 inputs. Both are fixed in 0.6 beta. You may need to reassign the MCDU1 key functions as I have standardised the naming convention to AB_PDS_MCDU1_... .


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    34%
    $8,560.00 of $25,000.00 Donate Now
×
×
  • Create New...