Jump to content
Sign in to follow this  
fms737

Quality Wings 787

Recommended Posts

Hello,

From the ofical forum:

Location Type Event ID Description
MCP switch KEY_TOGGLE_FLIGHT_DIRECTOR toggles flight director
MCP   KEY_AP_MASTER toggles autopilot
MCP   KEY_AUTOPILOT_OFF turns off autopilot
MCP   KEY_AUTOPILOT_ON turns on autopilot
MCP button KEY_AP_ALT_HOLD ALT HOLD autopilot mode
MCP button KEY_AP_PANEL_ALTITUDE_HOLD V/S autopilot mode
MCP button KEY_AP_ATT_HOLD FLCH autopilot mode
MCP button KEY_AP_WING_LEVELER VNAV autopilot mode
MCP button KEY_AP_APR_HOLD arm approach autopilot mode (LOC/GS)
MCP button KEY_AUTO_THROTTLE_TO_GA TOGA autothrottle mode
MCP   KEY_AP_HDG_HOLD HDG HOLD autopilot mode
MCP button KEY_AP_PANEL_HEADING_HOLD HDG SEL autopilot mode
MCP button KEY_AP_NAV1_HOLD LNAV autopilot mode
MCP button KEY_AP_LOC_HOLD LOC autopilot mode
MCP selector KEY_AP_MAX_BANK_INC Increase bank angle limit
MCP selector KEY_AP_MAX_BANK_DEC Decrease bank angle limit
MCP button KEY_AP_N1_HOLD CLB/CON button
MCP button KEY_AP_AIRSPEED_HOLD A/T button
MCP switch KEY_AUTO_THROTTLE_ARM Arm A/T
MCP button KEY_AP_MACH_HOLD Toggle IAS/MACH
MCP button KEY_AP_PANEL_SPEED_ON Speed intervention button (on SPD selector)
MCP button KEY_AP_PANEL_HEADING_ON Toggle TRK/HDG
MCP button KEY_AP_ATT_HOLD_ON Toggle VS/FPA
MCP button KEY_AP_ALT_HOLD_ON Alt intervention button (on ALT selector)
MCP selector KEY_AP_VS_VAR_INC Increase vertical speed reference
MCP selector KEY_AP_VS_VAR_DEC Decrease vertical speed reference
MCP selector KEY_AP_SPD_VAR_INC Increase speed reference
MCP selector KEY_AP_SPD_VAR_DEC Decrease speed reference
MCP selector KEY_AP_ALT_VAR_INC Increase target altitude
MCP selector KEY_AP_ALT_VAR_DEC Decrease target altitude
MCP selector KEY_HEADING_BUG_INC Increase heading reference
MCP selector KEY_HEADING_BUG_DEC Decrease heading reference

I hope that help to develope a module for this aircraft.

Thanks and best regards.


J. Adolfo Medina

Share this post


Link to post
Share on other sites

Hi Adolfo

Thank you for the Lvar information. It will help me with the ongoing development of the QW787 module. Not all Lvars are ‘visible’ for use so these will definitely help. 


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
On 6/23/2018 at 12:03 PM, jadolfo said:

Hello,

From the ofical forum:

Location Type Event ID Description
MCP switch KEY_TOGGLE_FLIGHT_DIRECTOR toggles flight director
MCP   KEY_AP_MASTER toggles autopilot
       

I hope that help to develope a module for this aircraft.

Thanks and best regards.

Can you give me the link to the forum post? I have tried to you these values without success. It is not a problem as I have already implemented all the MCP functions. 

Edited by ScotFlieger

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

An initial beta version of the QW787 module is available under LINDA Downloads. Please report all issues under LINDA Support and not here.


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
On 6/24/2018 at 6:04 PM, ScotFlieger said:

An initial beta version of the QW787 module is available under LINDA Downloads. Please report all issues under LINDA Support and not here.

Thank you very much for your effort 👍

Share this post


Link to post
Share on other sites

Further improvements to MCP Autopilot operation have been made. These provide greater control over the knobs and corrects navigation moding. Download QW787 v0.3 beta. 


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

Fuel cutoff switches added to latest beta release


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

I made some fixes based on v0.8beta, mainly fix MCP things:

 

Fixed AT_press will reset MCP speed

Add SPD_INTV and AT_SOFT_DISCONNECT

-- $$ AP A/T

function QW_MCP_AT_press ()
local lvar = 'at_mode_clicked'
    ipc.writeLvar(lvar, '1')
    --ipc.control(65859, 0)
    DspShow('A/T', 'pres')
    QW_Switch_Small()
end

function QW_MCP_SPD_INTV_press ()
local lvar = 'SPD_INTV_knob'
    ipc.writeLvar(lvar, '1')
    DspShow('SPDINTV', 'pres')
    QW_Switch_Small()
end

function QW_AT_SOFT_DISCONNECT ()
local lvar = 'at_mode_clicked'
    ipc.writeLvar(lvar, '10')
    DspShow('ATDS', 'pres')
    QW_Switch_Small()
end

Add AP_SOFT)DISCONNECT(I set in under AP MASTER DISCONNECT, but maybe not the best place?)

function QW_AP_SOFT_DISCONNECT ()
local lvar = 'ap_master_disconnect'
    --ipc.writeLvar(lvar1, '1')
    ipc.writeLvar(lvar, '1')
    DspShow('APDS', 'pres')
    QW_Switch_Small()
end

Fix ALT_AUTO_toggle(just a small typo in v0.8)

function QW_MCP_ALT_AUTO_toggle ()
local lvar = 'QW_MCP_ALT_AUTO_Knob'
local lval = ipc.readLvar(lvar)
    if lval ~= 1 then
        QW_MCP_ALT_AUTO_1000()
    else
        QW_MCP_ALT_AUTO_auto()
    end
end

Change ALT_SET into ALT_INTV

Fix MCP_ALT_HOLD that would reset MCP ALT to current

-- $$ AP ALT Hold

function QW_MCP_ALT_INTV_press ()
local lvar1 = 'KEY_AP_ALT_HOLD_ON'
    ipc.control(65808, 0)
    --ipc.writeLvar(lvar1, '1')
    DspShow('ALTS', 'pres')
    QW_Switch_Small()
end

function QW_MCP_ALT_HOLD_press ()
local lvar = 'ap_vert_mode_clicked'
    ipc.writeLvar(lvar, '1')
    DspShow('ALTH', 'pres')
    QW_Switch_Small()
    --ipc.writeUW(0x07F2, 0)
end

Added HUD_DECLUT for the yoke button to alternates HUD format (I place it under Overhead 1 HUD&Wipers, but it's not on OVHD panel)

  PS: While the Lvar has 0 and 1, I checked with FCOM and this button in real plane is a toggle,  so I'll not made it into "on,off,toggle" set.style.

-- ## Overhead 1 HUD & Wipers

function QW_HUD_DECLUT ()
local lvar = 'QW_Wheel_L_HUD_Button'
local lval = ipc.readLvar(lvar)
    if lval ~= 1 then
        ipc.writeLvar(lvar, '1')
        DspShow('WHUD', 'pres')
        QW_Switch_Small()
    else
        ipc.writeLvar(lvar, '0')
        DspShow('WHUD', 'pres')
        QW_Switch_Small()
    end
end

 

Edited by C2615

Share this post


Link to post
Share on other sites

Many thanks for the suggested changes. I will review them and update the current modules. The QW787 is not an aircraft I am familiar with and testing will be limited. 


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

Oops sorry, I forget the FPA/VS one:

The VS/FPA_press is for change over VS and FPA,while _select is for active the mode.

BTW: in FPA mode, either the Lvar nor ipc.control could change FPA, while the thumb wheel still rotate, seems a bug in QW side.

-- $$ AP VS/FPA

function QW_MCP_VS_FPA_press ()
local lvar1 = 'KEY_AP_ATT_HOLD_ON'
    --ipc.writeLvar(lvar1, '2')
    ipc.control(65804, 0)
    DspShow('VFPA', 'pres')
    QW_Switch_Small()
end

function QW_MCP_VS_FPA_select ()
local lvar1 = 'KEY_AP_PANEL_ALTITUDE_HOLD'
    --ipc.writeLvar(lvar1, '2')
    ipc.control(65799, 0)
    DspShow('VS', 'pres')
    QW_Switch_Small()
end

 

It seems most MCP control for QW787 involve both custome Lvar and an FSUIPC.control, In some cases, the ipc.control will cause problem like reset the value, but the lvar type also not perfect, as I test the HDG HOLD not work with it's Lvar=2 (while MCP light illumine and FMA shows HDG HOLD, the aircraft dose not level off as clicked with mouse.). Also, the A/T_press,FLCH, and AT_soft_disc not behave propelly on ground, while no problem in air, that seems to be QW's bug then.

Edited by C2615

Share this post


Link to post
Share on other sites

@ScotFlieger seems this gentleman was able to figure 97t the VS/FPA issue I mentioned in my other thread. Anyway you might find some time to update the module with all these fixes he posted on October 9th? Many thanks!


Eric 

 

 

Share this post


Link to post
Share on other sites

@B777ER LINDA modules are provided with no restrictions so users can make their own changes as required.

I have incorporated the changes kindly suggested by @C2615 in an update of the module available here. Due to my limited knowledge of the QW787 I have only been able to carry out limited testing.

Edited by ScotFlieger

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
45 minutes ago, ScotFlieger said:

@B777ER LINDA modules are provided with no restrictions so users can make their own changes as required.

I have incorporated the changes kindly suggested by @C2615 in an update of the module available here. Due to my limited knowledge of the QW787 I have only been able to carry out limited testing.

Perfect, ty Scott


Eric 

 

 

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.
×
×
  • Create New...