MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
gksrbckd
Posts: 6
hello every one.

i want turn on the pmdg 737 lights,
for example, i want turn on the taxi light.


input setting for this,

action type : FSUIPC offset
use preset : Lights- taxi then press use
offset : 0x0D0C
value type ; int
size in Bytes : 2
mask value with : 0x08
BCD mode : unchecked
Set value : 1


but it doesnt work.
where can i fix this situation.
no problem for parts, and arduino has no problem.

i need your help. thank u !
2017-11-30 15:12
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi gksrbckd,

if you want to switch the lights of the PMDG, you have to take their EventIDs. You use the EventIDs of the standard-B737 from the FSX if you use the presets of FSUICP for the lights.
In your PMDG folder you can find a file with the EventIDs for the PMDG
Grüße,
Stephan (Time: UTC+2)
2017-11-30 15:44
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Negativ !

THIS is the OUTPUT..... With that Offset you can Readout the Position of Switch in the SIM...... But you not be able to WRITE on it.... PMDG not support Inputs via Offsets !

For Inputs you must use EVENT ID form the PMDG internal Range...... ( Like Stephan said)

Correct ID for Taxi Lights is.....

EVT_OH_LIGHTS_TAXI ......... EventID 69749
Parameter here normaly should be 0 and 1 for OFF and ON ..... If not you must use Richtclick and Leftclick.
Here Leftclick means parameter 536870912 .... Rightclick is MINUS -2147483648

You find a full list of PMDG 737 EventID here.... https://myhomecockpit.de/PMDG_737NGX_EVENT_IDs_SP1d.pdf
Good Luck !
2017-11-30 22:58
icon