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
Stubenflieger
Posts: 6
Hello,

I have searched the forum, but was not successful.

I need to switch two offsets the same time (Bat 1 and Bat 2 or Avionics 1 and Avionics 2).

Is there a way to do that? Assigning 2 inputfunctions to the same button does not work, in that case only one of those will work.

thank you very much!!

BR Markus


in German:

Ich habe das Forum durchsucht, wurde aber leider nicht fündig.

ich muss 2 Offsets mit einem Schalter zeitgleich schalten (z.B. Bat1 & Bat 2 oder Avionics 1 & Avionics 2).

Gibt es einen Weg, dies zu realisieren? Ich habe schon 2 Input Funktionen konfguriert und den selben Button zugewiesen, aber in diesem Fall funktioniert nur eine der beiden Funktionen.

Vielen Dank!

LG Markus
2020-02-21 08:38
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hallo Markus,

zunächst wäre es für uns einmal wichtig zu wissen, mit welcher Plattform du arbeitest. Da wären also P3D, FSX oder X-Plane zum Beispiel. Dann ist von Relevanz, ob du ein Standardflugzeug oder ein Addon benutzt.
Wenn du uns dann noch sagst, welche Funktionen du genau zu schalten beabsichtigst, dann sind wir bestens präpariert, deine Fragen zu beantworten.

Nur soviel vorweg: es sollte kein Problem sein, mit einem Schalter mehr als einen Event/Offset zu steuern. Das hängt aber auch von dem verwendeten Flugzeug ab.
Grüße,
Stephan (Time: UTC+2)
2020-02-21 10:16
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Short help:

A Input Device can be used multiple time in a Config File.....

Means you can create for example TWO Input Configs..... Both use the SAME Device ( Your Switch e.g.)
Config 1 say... On Press: Set Offset A or maby use Event A
Config 2 say... On Press: Set Offset B or Event B or so.
If you Press the Button then all Inputs from UP to DOWN in sequence like you create the Configs will be executed.

Another tricky solution is a "Fake" usage of the Release.

If you use a Momentary Button (instead to a latching switch) and the button must controll TWO things then you can set the second function to the RELEASE.
Here your Push will execute Function 1 and some millieconds later ( cause you just press momentary) the release will execute function 2 .
Good Luck !
2020-02-21 14:42
Avatar
fazli
Posts: 91
I think can configure preconditon in mobiflight
2020-02-22 07:25
Avatar
Stubenflieger
Posts: 6
Hallo,

zuallererst: Ich verwende X-Plane mit Standard Flugzeugen. Hier funktioniert die Zuweisung von 2 Offsetz zu einem Schalter nicht, ich habe es mit zahlreichen Standard Offsets verwendet, die alleine funktionieren, wenn man aber 2 einem Schalter zuordnet leider nicht.

Ich habe nun einfach den trick angewendet, einmal einen Offset anzusteuern und einmal eine tastenkombination, das klappt.

Beispiel: Standard Cessna Avionics buss 1&2 (heißt einmal Avionics und einmal Cross tie) oder Cirrus Vision Jet Battery 1 und 2

Konnte es also mit einem Trick lösen, aber es kann auch an der Schnittstelle zu X-Plane liegen (XPUIPC)...

LG markus
2020-02-23 19:50
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hi Markus,

von MobiFlight ist es durchaus möglich, pizman deutete das schon an, zwei Offsets auf einen Schalter zu legen.

Du mußt halt in MF zwei Configs anlegen, eine wirkt auf Offset1 und die zweite auf Offset2. Beide Configs nutzen das selbe Device (z.B. Schalter xy). Beide Configs reagieren nur auf ON PRESS.
Auch, wenn beide Configs quasi gleichzeitig durch die Betätigung des Schalters ausgelöst und von MF erkannt werden, so werden sie sequentiell (also nacheinander) an XPUIPC gesendet, so daß es auch keine Kollision der Daten geben kann.

Wenn du es aber über einen Trick lösen konntest und es zu deiner Zufriedenheit funktioniert, dann ist auch prima.
Grüße,
Stephan (Time: UTC+2)
2020-02-23 20:31
Avatar
Stubenflieger
Posts: 6
Hallo,

ja, wie gesagt, ggf ist es die spezielle Kombination mit X-Plane und XUIPC das das verhindert.

Da die Keystrokes auch wunderbar funktionieren, ist das für alle X-Planer wohl die Lösung der Wahl...

LG Markus
2020-02-25 11:24
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hiho

Das mit Xplane kann ich nicht nachprüfen..... habs nicht und hols mir auch nicht.

Du kannst aber durchaus recht haben..... XPUIPC ist ansich genau so ne Steinzeit Software wie FSUIPC und schlimmer noch ist sie ein weiterer "Bypass" der die Übertagung erschwert. ( Ich bete echt das mit FS2020 das alles endlich weg kommt).
Somit kann es sein das die Kommandos untergehen weil Mobiflight da XPUIPC "überlastet".
Was Stephan ansprach mit der sequentiellen Übermittlung funktioniert zwar perfekt im gepflegten FSUIPC..... Aber meines Wissen ist XPUIPC seit zig Jahren Tot und wird nicht weiterentwickelt... Vermutlich ist da der Hund begraben.
Good Luck !
2020-02-26 03:34
icon