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
kjoussen
From: Hamburg, Germany
Posts: 178
Hi there,

in my project i'm just at implementing the Airbus inspired engine starter plate for FSX and the stock Airbus.



I switched on the logging of FSUIPC and clicked the controls on the screen but the values i receive are strange and / or other than in the Offset table from ProjectMagenta.

Can someone help me here to find the correct values or how to interpret the output of FSUIPC loggin window?

In the FSUIPC log-file i see these lines as well:
110032 *** EVENT: Cntrl= 66725 (0x000104a5), Param= 1 (0x00000001) TOGGLE_MASTER_STARTER_SWITCH
111344 *** EVENT: Cntrl= 66725 (0x000104a5), Param= 1 (0x00000001) TOGGLE_MASTER_STARTER_SWITCH
114313 *** EVENT: Cntrl= 66725 (0x000104a5), Param= 2 (0x00000001) TOGGLE_MASTER_STARTER_SWITCH
115047 *** EVENT: Cntrl= 66725 (0x000104a5), Param= 2 (0x00000001) TOGGLE_MASTER_STARTER_SWITCH
307469 *** EVENT: Cntrl= 66717 (0x0001049d), Param= 1 (0x00000001) TURBINE_IGNITION_SWITCH_TOGGLE
307469 *** EVENT: Cntrl= 66717 (0x0001049d), Param= 2 (0x00000002) TURBINE_IGNITION_SWITCH_TOGGLE
308625 *** EVENT: Cntrl= 66717 (0x0001049d), Param= 1 (0x00000001) TURBINE_IGNITION_SWITCH_TOGGLE
308625 *** EVENT: Cntrl= 66717 (0x0001049d), Param= 2 (0x00000002) TURBINE_IGNITION_SWITCH_TOGGLE

First two lines when clicking the Master Engine 1 Lever, next two lines when clicking Master Engine 2 Lever and the next 4 lines when turning the Mode switch to start (2 Lines) and back (next two lines.

So, there are events, but how to "map" these to Offsets i could control with my panel over MF?


BTW, wouldn't it be nice to have MF-window which shows the FSUIPC Offset, Values and so on, when clicking in the virtual cockpit?
OK, this is a feature request, but hey,....it would have helped me here a lot....:rolleyes:

Thanks in advance

Kai
[Last edited by kjoussen, 2022-02-09 20:17]
2022-02-09 20:03
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

This feature request is pretty sure not possible.....
Cause Mobiflight technical not "know" anything about the simulator.
MF receive data from a OUTPUT and can send data for a INPUT...
But for P3d/FSX it not talk to the sim itself.... It send or receive it from FSUIPC!
So when you press a "Virtual Button" in the Sim.... How ever should Mobilfight see or scann this !

Your Problem:
Listed Events are "Toggles".
So there is no "SET Switch to 1 or 0" there is only a "Toggle switch" command.
BUT we also see Parameters.

So simply SEARCH the FSX/P3D Event List....

66717 TURBINE_IGNITION_SWITCH_TOGGLE
67476 TURBINE_IGNITION_SWITCH_SET
67477 TURBINE_IGNITION_SWITCH_SET_ON
67478 TURBINE_IGNITION_SWITCH_SET_OFF
67479 TURBINE_IGNITION_SWITCH_SET_AUTO

----
66725 TOGGLE_MASTER_STARTER_SWITCH
65932 STARTER1_SET
65938 STARTER2_SET
65944 STARTER3_SET
65950 STARTER4_SET

Try this ones !
Good Luck !
2022-02-10 00:27
Avatar
kjoussen
From: Hamburg, Germany
Posts: 178
Got it.

But i found it a nice idea, as there are little standalone tools out there, which can achieve this, but they are not for free, e.g. here: https://www.ruscool.co.nz/Monitor-FSUIPC/

However, thanks for the explanation reg. events, I will follow this tonite.

Kai
2022-02-10 13:19
Avatar
kjoussen
From: Hamburg, Germany
Posts: 178
OK, so far so good....the two Master Engine Toggles are working.

But now i have a small problem with the TURBINE_IGNITION_SWITCH_TOGGLE

As you can see in my first post it fires two events, for each engine one.
How to implement this in MF???
2022-02-10 16:23
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
I not know this switch and your aircraft...
Why still try rto "toggle"
Use the SET event i gave you..... Does it work ?
Good Luck !
2022-02-10 18:09
Avatar
kjoussen
From: Hamburg, Germany
Posts: 178
Got it sorted out.

I used the Event-IDs you gave me, but nothing happened on the screen.

Well, simple solution, it was a typo.

The working Event-ID for On-Press and On-Release is 66717 with parameter 0 (instead of 1 or 2 for addressing a single engine when using SET-Events you also gave me).
Well, at least with my FSX stock Airbus 321.

Now this panel is fine, working as desired and Kai is happy.
And now back to the other panel ....

Thanks a lot for your help, pizman82
2022-02-10 20:07
icon