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
IFLYA320
Posts: 20
Hallo zusammen,

ich habe folgendes Problem:

Ich verwende MobiFlight nur für 7-Segemntdisplays. Die Zahlen kommen per FSUIPC eingespeist. Wenn Das RMP aus ist, kommen keine Daten an und MobiFlight geht in den Stopp Modus. Leider startet das Programm nicht mehr automatisch.

Kann man das umgehen?

LG
Niklas
2020-03-25 22:45
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Das Mobiflight selber in den STOP Modus wechselt ist ein Fehler..... Stop von selbst ist ein Zeichen für eine falsche Config..... Wenn das ganze immer zur selben Zeit passiert ( Z.b. wenn du ein Triebwerk abstellst) dann vermute ich du hast irgendwo ne Precondition, Compare oder If Condition die genau DANN etwas macht was einen Syntaxfehler verursacht.

Zeig uns deine Config.... Bzw sag uns hier kurz welchen Offset und welche Precondition etc du benutzt.... Dann kann ich dir sagen was falsch läuft.

Alternativ.....
Deaktiviere per Haken mal alle Configs...... Dann mach eine nach der anderen an und teste besagte Situation..... Dann siehst du genau WANN der Fehler entsteht und genau DIESE Config ist dann die problematische.
Good Luck !
2020-03-25 23:59
Avatar
IFLYA320
Posts: 20
Moin!

Danke für die Hilfe.

Hier der Code der .mcc:

iconCode:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MobiflightConnector>
  <outputs>
    <config guid="2155a124-f3df-442f-8ae1-c56224be667b">
      <active>true</active>
      <description>Com1_1A</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66C0" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="2" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="1" />
        <preconditions />
        <transformation active="False" expression="$+10000" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="3eaa275a-3e88-4024-ac82-76cd503abad2">
      <active>true</active>
      <description>Com1_2A</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66C1" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="2" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="2" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="230babd5-ee4a-4d36-b105-e9aaba7aba7d">
      <active>true</active>
      <description>Com1_3A</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66C2" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="2" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="3" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="31da1671-c305-4f0a-b3b2-e2e3ea3078c0">
      <active>true</active>
      <description>Com1_4A</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66C3" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="2" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="4" ledDecimalPoints="4" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="dc61b91c-726e-4756-87b5-73fd87969c22">
      <active>true</active>
      <description>Com1_5A</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66C4" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="2" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="5" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="eec2c21d-eb24-489e-a313-b0921639310a">
      <active>true</active>
      <description>Com1_6A</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66C5" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="2" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="6" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="83f699f0-0bd5-4d93-bfed-69aad943f2d1">
      <active>true</active>
      <description>Com1_1S</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66E0" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="1" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="1" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="20299fe4-a2cc-4d21-bbf9-dd8c3fc38876">
      <active>true</active>
      <description>Com1_2S</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66E1" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="1" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="2" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="44b5fd12-0321-4599-86bc-147033389542">
      <active>true</active>
      <description>Com1_3S</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66E2" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="1" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="3" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="8b99cdae-b304-49d1-8249-8da7ae3a9a47">
      <active>true</active>
      <description>Com1_4S</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66E3" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="1" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="4" ledDecimalPoints="4" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="5b28b11e-89ae-4512-922b-1208fb429056">
      <active>true</active>
      <description>Com1_5S</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66E4" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="1" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="5" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
    <config guid="5b6a836c-001b-4cf1-b0c5-58b6d4fafc5e">
      <active>true</active>
      <description>Com1_6S</description>
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x66E5" offsetType="Integer" size="1" mask="0x00FF" bcdMode="True" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="Display Module" serial="MobiFlight Mega/ SN-498-3ae" trigger="normal" ledAddress="LedModule" ledConnector="1" ledModuleSize="8" ledPadding="False" ledPaddingChar="0" ledDigits="6" />
        <preconditions />
        <transformation active="False" expression="$" substrStart="0" substrEnd="7" />
      </settings>
    </config>
  </outputs>
  <inputs />
</MobiflightConnector>
2020-03-28 22:13
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Die Configs sehen auf den ersten Blick OK aus.

Auffällig ist die flasche Version die URALT ist ( 7.2 ) Da war glaub ich um 2017

Desweiteren bezweifle ich ein wenig ob dein System sehr Sinnvoll ist.... Welcher Sim ist das ? Da du von FSUIPC gesprochen hast vermute ich wir reden von FSX oder P3D
Dann frage ich mich wieso du die Frequenzen Stelle für Stelle über Customoffsets verarbeitest.... Desweiteren macht da BCD eigentlich keinen Sinn.

Somit.

Ich empfehle als erstes mal auf neueste Version zu patchen.... Dann schauen wir weiter !
Good Luck !
2020-03-28 22:43
Avatar
IFLYA320
Posts: 20
iconpizman82:

Die Configs sehen auf den ersten Blick OK aus.

Auffällig ist die flasche Version die URALT ist ( 7.2 ) Da war glaub ich um 2017

Desweiteren bezweifle ich ein wenig ob dein System sehr Sinnvoll ist.... Welcher Sim ist das ? Da du von FSUIPC gesprochen hast vermute ich wir reden von FSX oder P3D
Dann frage ich mich wieso du die Frequenzen Stelle für Stelle über Customoffsets verarbeitest.... Desweiteren macht da BCD eigentlich keinen Sinn.

Somit.

Ich empfehle als erstes mal auf neueste Version zu patchen.... Dann schauen wir weiter !



Moin!

Nach Update auf Version 7.8.2 hat sich nichts anderes ergeben.

Sim ist P3Dv4, Software ist JeeHell. Ich weiß nicht, inwieweit ich die Offsets direkt von FSUIPC (Sim) von JeeHell genutzt werden. Daher der etwas kompliziertere Weg. Falls es einfacher geht gerne einen einfacheren Weg offenlegen.

Danke und LG
Niklas
2020-03-29 18:08
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Verwendest du SIOC um die Daten dann anstatt auf eine OC Card auf einen Offset zu schreiben ??

Habe das vor 2 Jahren mal für einen User getestet damit ich verstand was er da macht. Hab da also "kaum" Erfahrung.... Aber wenn ich mich richtig erinnere war es mit dem SIOC PlugIn möglich z.b. ein Display von Jeehell zu definieren. Dieser Wert war dann in einer SIOC Variable.... Und besagte Variable konnte man dann mit Definition von Größe und Typ auf nen Offset schreiben.... Sprich bei ner Frequency reicht ein 2 Byte INT.


Zum Problem.

Du könntest mal was probieren. Da ja Mobiflight startet ist es kein extremer Fehler.... Bei ganz krassen Dingern startet MF gar nicht mehr und man muss die mcc datei per Hand entfernen.
Somit kannst du relativ einfach rausfinden wo das Problem ist.
Starte MF und klicke RUN .... Du sagst er Stopt jetzt. Guck mal im Output Tab auf das Mobiflight Fenster.
Normal stehen da in den Rechten spalten jetzt Zahlen..... Aber nicht in allen.... Denn da wo gestopt wurde und dahinter wurde nix mehr gelesen.
DAS is ein guter trick um ne Fehlerhafte stelle zu finden. Der Bock ist entweder in der Config wo die letzte Zahl steht oder in der ersten die keinen Read hatte.
Alternativ kann man mal Probieren alle Haken raus zu nehmen und eine nach der anderen zu aktivieren bis der Fehler kommt.

Sollte dein mcc file tatsächlich nur aus diesen paar Configs bestehen würde ich sogar einen Neubau vorschlagen. 12 Configs neu zu machen ist meist schneller als nen Fehler zu suchen. Vor allen kann man so immer wieder wärend des bauens testen und erkennt die Fehler direkt.
Good Luck !
2020-03-30 00:06
Avatar
IFLYA320
Posts: 20
So BCD war die Ursache. Jetzt ohne BCD bekomme ich 193 als Wert, wenn das Radiopanel im Sim aus ist. Kann man iwie Mobiflight sagen if VAR_1 = 193 Display=OFF ?

Danke und LG
Niklas
2020-04-01 10:57
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Ja das geht....
Zum Blank setzen verwendet man Leerzeichen. Da ein "space" aber ein Buchstabe ist und keine Zahl geht das nicht im Transform sondern erst im COMPARE Tab.
Dort aktivierst du die Funktion und sagst IF Value = 193 THEN "space" Also einmal Leertaste drücken ELSE kannst du theoretisch Leer lassen oder $ reinschreiben. Kommt auf das gleiche raus....
Das heist dann " Wenn Wert grad 193 dann Zeige ein Leerzeichen .... Sonst zeige den Wert des Offsets.

ACHTUNG: Falls du wie empfohlen bereits auf "Eine Config pro Display" umgestellt hast anstatt den Quatsch mit einzelnen Zahlen dann musst du natürlich dementsprechend mehr Leerzeichen machen.... Eins pro Stelle die Blank werden soll.
Good Luck !
2020-04-01 15:32
icon