Jump to content
The simFlight Network Forums

Gear Lever Off position for B739 PMDG NGX (offset)


Recommended Posts

I purchased one week ago the full and latest version of FSUIPC and Wide FS. I could assign all the functions to my CH Flight Sim, Yoke, CH Throttle, CH Pedals and Logitech G13 Gameboard. I used mostly the offsets of the PMDG SDK.h File, and they work properly. But there is a function imposible to assign. The Gear Lever OFF Position.

The PMDG Checlist recommend u after take off , to move the L/G lever to the off position to inhibit the pressure of the system to avoid possible stuctural damage on the up locks. I need a quick access without using the mouse and decided to assign this function one of the Yoke buttons.

GEAR LEVER OFF position value is: 74183. Shown is the SDK file of PMDG.

I pasted u a part of this file:

/ Control Events

#ifndef THIRD_PARTY_EVENT_ID_MIN

#define THIRD_PARTY_EVENT_ID_MIN 0x00011000 // equals to 69632

#endif

// Gear panel

#define EVT_GEAR_LEVER (THIRD_PARTY_EVENT_ID_MIN + 455)

#define EVT_GEAR_LEVER_OFF (THIRD_PARTY_EVENT_ID_MIN + 4551)

#define EVT_GEAR_LEVER_UNLOCK (THIRD_PARTY_EVENT_ID_MIN + 4552)

In Fsuipc I entered the value in the FSUIPC-Menu - Button and Switches- Select for FS Control- Control set when button pressed- Entered the value 74183-Set parameter to 1 (Tried also with 0, 2,3, 4….), but nothing happens when I press the button. I try it with L/G in up and down position in app with Flaps , without flaps. But nothing happens.

I did this with other values like idle/cut off lever and more, and their works properly.

Whats wrong, or what im doing wrong?? Could u help me with this feat?

Thanks Pete, and regards:

Ruben

Link to comment
Share on other sites

In Fsuipc I entered the value in the FSUIPC-Menu - Button and Switches- Select for FS Control- Control set when button pressed- Entered the value 74183-Set parameter to 1 (Tried also with 0, 2,3, 4….), but nothing happens when I press the button. I try it with L/G in up and down position in app with Flaps , without flaps. But nothing happens.

I did this with other values like idle/cut off lever and more, and their works properly.

Whats wrong, or what im doing wrong?? Could u help me with this feat?

 

Sorry, I'm not the person to ask I'm afraid. I don't even have any PMDG aircraft installed for FSX -- I used to use their FS9 737.

 

You need PMDG support forum really, it is their aircraft and their list of controls. All FSUIPC is doing is making an easy way for you to send these controls. If you've used others in their list and they work, then this proves you know how to do it.

 

You can just check, in FSUIPC, that you are actually causing the correct control to be sent.  Enable Event logging in the Logging tab, and check that the log does show that you are sending the correct control value.

 

Regards

Pete

Link to comment
Share on other sites

Problem fixed. I opened the window console in the option, Enable Event logging in the Logging tab, and actuated several times the LDG Lever. I observed that the parameters I are not (1-on /0-off). I observed the parameter when the lever passes on its off position and discovered this. The parameter is a very high value. So I kept on investigating and making test and errors checking, and found this final solution:

This are the value for full set off position for LDG Lever. It works 2 ways. When LDG Lever is in DOWN position, and when its in UP position. It takes ur lever to the OFF position in this 2 cases:

Control sent when keys pressed: (Choice 1st option: <custom Control> )

Value: 74183

Parameter: 536870912

Control sent when keys released: : (Choice 1st option: <custom Control> )

Value: 74183

Parameter: 0

Disable: Include PM and No repeats

This is applicable also for keys, buttons and you can also assign it for axis levers, programing in the path lever 3 positions, UP-OFF-DOWN, using for UP and DOWN, the default values in FS controls and for OFF position the value and parameter I gave before. It works great, for PMDG FSX Boeing 737/800 and 900.

I sent u also an image.

Thanks Pete and scrooke for ur advices.

Regards:

Ruben

Link to comment
Share on other sites

  • 3 months later...

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

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.