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
achaverr
Posts: 6
Hi, please your help i don“t found the xpuipc offset for Annunciator Switch test

My conf

x plane 11
Plane Cessna 172

thanks
2019-04-23 03:14
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
You have to create your own config for XPUIPC and add it to the xpuipc.cfg in the plugins folder.

I tried to find the right DataRef but was not successful on first try. Let me check later, or you can also try if you can find the dataref for the Annunciator Test Switch. Once we got it, I bet we can come up with the right config.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2019-08-07 22:45
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Hi, I got it to work.

Add this line to your XPUIPCOffsets.cfg:
iconCode:
Command	0x66C0	UINT8	0	1	sim/annunciator/test_all_annunciators


Now when you write a "1" to the offset "0x66C0" the switch will toggle ON. Once you write a "0" to the offset, it will toggle back to OFF.
I used a switch doing the onPress write 1 and onRelease write 0 which worked nicely.

I found out what DataRef or Command it is by using this tool
https://github.com/leecbaker/datareftool

If you go to the releases page:
https://github.com/leecbaker/datareftool/releases

You will find a pre-built version that you can install as plugin.

Let me know if it works for you too.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2019-08-08 05:08
icon