September 24, 201114 yr Hi Günter, I wonder if the following would be a useful function to add to the PMDG 737 NGX module : -- ## Parking brake ############### function PARKING_BRAKE_Set () if ipc.readLvar('ngx_switch_693_a') == 0 then ipc.control(65752, 0) -- toggle parking brake state but only if NOT SET endend function PARKING_BRAKE_Release () if ipc.readLvar('ngx_switch_693_a') == 100 then ipc.control(65752, 0) -- toggle parking brake state but only if SET endend Why would you need this ?The NGX uses the FSX default control to toggle the parking brake, but this does not take into account the current state of said brake. Therefore if a hardware lever or button is used to operate the parking brake with this FSX control, it can be "out of sync" if, for example, the lever is in the OFF position but the parking brake is SET in the panel when the aircraft is loaded. In this situation (which I have found my setup in at times), pulling the lever into the SET position will then RELEASE the parking brake etc, unless the parking brake lever in the panel is toggled with the mouse to bring it back in sync with the hardware lever. With the above script, the PARKING_BRAKE_Set function can be assigned to the hardware lever so that when it is moved to the SET position, the FSX control will get executed only if the parking brake is not already SET. Similarly the PARKING_BRAKE_Release function can be assigned to the hardware lever so that when it is moved to the RELEASE position, the FSX control will get executed only if the parking brake is not already RELEASED. In this way, one change to the hardware lever will get it back in sync with the panel state if the two don't match to begin with, and it will work as it should from there on. And here's another idea : why not add a condition to the PARKING_BRAKE_Set function that requires both toe brakes to be fully pushed down to be able to SET the parking brake ? I'm pretty sure that's how it's done on the real aircraft. On my setup I've managed to make this work through a little extra script in a CHCM map but via LINDA you could read the state of the toe brakes and add this bit of realism, I would imagine. Cheers,Emile. Cheers, Emile Bax.
September 24, 201114 yr nice idea... will try to find that function .... Are you sure about setting parking brake with both toe brakes?Isn't there this little PB lever on the pedestal?(I have no clue) Guenter Steiner -------------------------------------------------------------------------------------- Betatester for: A2A, LORBY, FSR-Pillow Tester --------------------------------------------------------------------------------------
September 24, 201114 yr Author nice idea... will try to find that function .... Are you sure about setting parking brake with both toe brakes?Isn't there this little PB lever on the pedestal?(I have no clue)To set the parking brake, the pilot has to push both toe brakes fully down before the little lever on the pedestal can be pulled. The action of pulling the lever does not operate the brakes themselves, but merely inserts a lock in the brakes mechanism. Once the parking brake is set, the pilot can take his/her feet off the toe brakes as the lock now holds the brakes depressed. To subsequently release the parking brake, the pilot pushes the toe brakes again (which disengages the lock) and does not need to touch the pedestal lever which will return automatically to the "unlocked" position. That is my understanding of the procedure, explained to me by a mate of mine who flew Air New Zealand's Boeing 767s for a living (and sadly died far too young a few years ago). I think that for some FSX aircraft, the parking brake will indeed be released if you depress the toe brakes. This does not appear to be the case with the PMDG 737 NGX, so there you'd use the lever to release the parking brake as well, although of course this could be programmed in which case you'd have to manually change the hardware lever to the "unlocked" position. Cheers, Emile Bax.
September 30, 201114 yr a good idea... however with reference to the last part, pressing the toe breaks will release the parking brake on my NGX, so looks like you have a config issue as to why it isnt working on yours. But the idea about checking if soemthing is already actioned is good - it would be useful in other situations also I think where people have buttons, switches or levers for certain systems. Also it is correct that to apply the parking brakes in real world you do need to push toe brakes first then then lever. Regards James Carr
September 30, 201114 yr As for turning the parking brakes on and off, i.s.o. toggling the parking brakes you can select 'Set FSX Control', then select 'PARKING_BRAKES 65752' and use the optional parameter 0 to turn the parking brakes off and 1 to turn them on. So in this case no need to check to state of the parking brakes. Maarten Boelens ([m][a:][R][t][ʏ][n]) Developer of SimLauncherX
October 6, 201114 yr As for turning the parking brakes on and off, i.s.o. toggling the parking brakes you can select 'Set FSX Control', then select 'PARKING_BRAKES 65752' and use the optional parameter 0 to turn the parking brakes off and 1 to turn them on. So in this case no need to check to state of the parking brakes.parameter 1/0 doesnt workkeeps toggling? Intel 2500K | AMD 7970 | Win7x64 | 16GB | TV 40" | Touchscreen 22" | HOTAS | Rudder | MCP | FFB Joystick | FSX-SE | Prepar3D | DSC A10
October 7, 201114 yr Thank you, Emile! I assigned your functions to a switch on the TT panel, and can now use it to operate the parking brake with ease — extremely useful! Best wishes, Brian
October 8, 201114 yr Hi, I stand corrected: FSX Control 65752 indeed only toggles the parking brake. The parking brake can be set/released directly using FSUIPC offset 0x0BC8 like this: -- ## Parking brake ###############function PARKING_BRAKE_Release () ipc.writeUW(0x0BC8, 0) DspShow ("PkBr", "Off") ipc.sleep(1000)endfunction PARKING_BRAKE_Set () ipc.writeUW(0x0BC8, 32767) DspShow ("PkBr", "On") ipc.sleep(1000)end Maarten Boelens ([m][a:][R][t][ʏ][n]) Developer of SimLauncherX
Create an account or sign in to comment