Headley

Error in module PMDG 737NGX ?

Recommended Posts

Hello,

Is it possible that there is a small error in this function?

It is the function that toggles the ground power button on the overhead panel of the B737NGX.

When selecting "power on" it gives a richtclick, so the power turns off instead of on and vice-versa.

I think the solution is simple but one must be aware of it ...

Extract of "actions.lua" :

-- $$ Ground Power

function NGX_GRD_PWR_on ()
    if ipc.readLvar('ngx_switch_17_a') ~= 100 then
        ipc.control(PMDGBaseVar+17, PMDG_ClkR)
        DspShow ("GPWR", "on", "GRD PWR", "on")
    end
end

function NGX_GRD_PWR_off ()
    if ipc.readLvar('ngx_switch_17_a') ~= 0 then
        ipc.control(PMDGBaseVar+17, PMDG_ClkL)
        DspShow ("GPWR", "off", "GRD PWR", "off")
    end
end

 

Share this post


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

Thank you William for reporting the issue. The overhead panel ground power switch operation is fixed in module 4.10.

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