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
Jeanl2
Posts: 6
Hello.
Today i was doing a flight in which i was testing some stuff and i need to change the NAV frequency quickly, so i changed the displays on my radio box to show the NAV1 stby and active. After setting everything up, and applying the NAV1 presets for the seven segment displays, i notice that it's displaying the wrong frequency, and after checking, i noticed the transform value should be $+10000, but the preset didn't have a transform value. After doing this myself, the frequencies were correct. I'm running MF version 7.5.2 (note: i am using fsx with fsuipc4)
2019-06-09 07:09
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Apollogy fro your trouble.

But please note..... The "Presets" are just a relict of the first days of Mobiflight.
Sebastian basicly think about a full Dropdown menue for 100% of functions but quickly understand that this is not possible.... Every AddOn use other Offsets.... Every user use other Values.

For Example some users simply hardcoded the fist diggit electrical by 2 wires directly to 5v .... So The "1" on the left must not be supported by mobiflight and light all time already by hardware. In that case the Transform is not needed or better its wrong here cause then the display wont work correctly.

So finaly he decide to stop creating Presets until a better idea come alive.

*****
So.... Please see the Presets that are include more like a "example file" and not as a tool. If it work for you you can use it.
If not please simply create the Inputs by hand as you will do already for 90% of other functions, where no Preset exist finaly.
Good Luck !
2019-06-09 08:57
Avatar
Jeanl2
Posts: 6
I see. I'm not someone who knows a whole lot about code but still love to do these kind of diy projects, so i'm still glad the presets exist.
2019-06-09 18:01
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Don´t mix up the words "code" and "math extensions"

With mobiflight the "code" is not needed. You not must write a script yourself that for example use commands like "ipc.read" to get informations from Sim. You also not must write the code for the Arduino IDE to define there is a LED on Pin XY and so on.

BUT

Like in all other programms you must create the Elements you like to work with.... Like Outputs (LED) Inputs (Switches) and so on.
So a basic knowledge about math extensions like in this point the Transform "$+10000" is needed.
You must also be able to use a simple IF-ELSE function like " if($>17,$*256,if($=5,17,$)) " This is also a basic part that a user should understand.
Finaly you need to understand the Hexadecimal, and the Binary System .Without its not possible to build a homecockpit.

That knowledge is needed.... Whatever if you use Mobiflight, SIOC, LINDA or every other software.

********
But not feel sad.... This comes with the time. When i startup some years ago i don´t know what Hexadecimal means and i also not know what a Offset should be.
All is logical and self explained..... Simply use google to learn step by step waht you need.
Good Luck !
2019-06-10 08:51
icon