Jump to content
Sign in to follow this  
FSC190

737NGX Modul Groundpower Switch

Recommended Posts

In this funktion, right and left  mouseclick  are assigned in the wrong way.

Ground Power on must be Left Mouse click

Ground Power off must be Right Mouse click

Hallo Günther

In deinem Modul ist in der GroundPower_Funktion sind die Variablen für  rechten und linken Mausklick verwechselt.

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

PWR on muss mit PMDG_ClkL ausgeführt werden und PWR off  mit PMDG_ClkL

 


With kind regards

Roland Pohl
Vice chairman FSC e.V.

Share this post


Link to post
Share on other sites

Thanks Roland,

 

I have fixed it.

Will upload a new modules maybe in the next week


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

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

Share this post


Link to post
Share on other sites

I tested it again, Roland, but all is workign as it should!


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

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

Share this post


Link to post
Share on other sites

I am not sure if I understand you right Günther.

you fixed it and it is working OK now?

Or it worked OK before you fixed it?

The funktion NGX_GRD_PWR_On does a right click on the GRD_PWR_Switch, but that is not correct, you have to do a left click to turn GRD_PWR on.

That's with V4.8 of the PMDG NGX Module

 


With kind regards

Roland Pohl
Vice chairman FSC e.V.

Share this post


Link to post
Share on other sites

I fixed it according to your advice, but I have made now a flight and tested it and it was then not working correctly.

Or do you mean both do need a LEFT click? PMDG_ClkL?

 


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

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

Share this post


Link to post
Share on other sites

Ich muss das leider mal auf Deutsch beantworten.

Wenn du im Overhead Panel mit der rechten Maustaste auf den GRD PWR Switch klickst, geht der Schalter nach oben auf OFF und wieder zurück in die Mittelstellung. Beim Linksklick geht er nach unten auf ON und zurück in die Mittelstellung.

So sollte es auch die Funktion machen.

Hast du evtl eine Linkshändermaus? Da wären Rechte und Linke Maustaste auch vertauscht.

 


With kind regards

Roland Pohl
Vice chairman FSC e.V.

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...