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
EdekaKuchen
Posts: 2
Hi! So i installed Mobiflight and XPUIPC, and the sim is connecting, but my parking brake switch from the tutorial is still not working.
Here is some information and files:
XPUIPC Version 2.0.3.8 64 bit
XPWideFS Version 2.0.0.2 64 bit
X-Plane Version: 11503


InI file:
XPUIPC Version 2.0.3.1 ini file

[XPUIPC SETTINGS]
Tune value = 00
Server Address = 192.168.56.1
XPUIPC2XPUIPC Client mode = No
[XPUIPC ATC SETTINGS]
ATC Number = LH 5363
ATC Tail Number = D-ABIB
ATC Airline name = Lufthansa
ATC Aircraft type = Boeing 737-800
[XPUIPC AXIS SETTINGS]
Invert Elevator Axis = No
Invert Aileron Axis = No
Invert Rudder Axis = No
CWS_rollAxisZeroCorrectionValue = 0
CWS_pitchAxisZeroCorrectionValue = 0
CWS_pitchNullValue = 1000
CWS_rollNullValue = 1000
Combine Rudder Axis = Not assigned
Combine Aileron Axis = Not assigned
Combine Elevator Axis = Not assigned
Combine Tiller Axis = Not assigned
Combine Left Toebrake Axis = Not assigned
Combine Right Toebrake Axis = Not assigned
[PUSHBACK SETTINGS]
MaxSpeed = -1.5
MaxTurnSpeed = 0.15
[OTHER SETTINGS]
ToeBrakeNullZonePercent = 0.10
[XPUIPC FLAPS SETTINGS]
Flap Settings = Inactive
Number of Detends = 02
Flap detend 1 =
Flap detend 2 =
Flap detend 3 =
Flap detend 4 =
Flap detend 5 =
Flap detend 6 =
Flap detend 7 =
Flap detend 8 =
Flap detend 9 =
Flap detend 10 =
[JOYSTICK BUTTON SETTINGS]


this is how the switch is connected to my arduino:
https://cdn.discordapp.com/attachments/662536765046915073/782595912076623892/20201129_141642.jpg
2020-12-02 17:32
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

I´m not a Pro in XPUIPC as lots of people know..... So i never do those settings myself.

The first question is WHERE is the Problem itself..... Hardware, Software ( MF) or Software (XPUIPC) .

To locate this the first step is to confirm if the Button work.
Here you can use the "Keysend Methode" i explane 1000 times already..... Means you use as Input Typ "KEY" and use for example "a" on Press and "b" on Release.
Then you run Mobiflight ( Standaloane in Offline mode OR without Offline Mode if the Sim is also running same time) .
Then you open a Text Programm like Wordpad and click the Cursor active..... If you now pre the Button then it must write "a" or "b" whatever you set it to ON or OFF.

A Alternate is to enable the Logging Mode ( Typ Debug) and RUN Mobiflight and toggle the Button. In the Logging String you must see a Message for every Press or Release.
With this information you know if the Button (switch) basicly is working.


If you get information that switch is working fine then you need to check connection to Sim.
In case Input is problematic..... Simply make a Output for testing. Read the Parking Brake Offset and check if it show data. And Always use a standard Aircraft and NOT a AddOn for those testings !



At last....
Do you use a Server/Client System ?
I see you use "WideFS". This normaly is used ( in FSX/P3D) if you run Mobiflight on a OTHER computer like the Sim.
Here i wondering why in settings you say..... XPUIPC2XPUIPC Client mode = No

If yes..... then simply try for testing what happen if you use Mobiflight and XPUIPC directly on the Flight Sim Computer.
Good Luck !
2020-12-04 15:42
icon