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
Astor1963
Posts: 23
Supporter
hello, can you put more than 6 data in a lcd with mobiflght?

Thank you
2020-11-14 01:50
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi Yes.

Basicly the limitation is SEVEN .
You can use the 6 Placeholders..... and additionaly the Own Value of the LCD Config
The Symbols for the variables (placeholders) can be choose by yourself... e.g. § ? % & # +
The Symbol for the own Value is always DOLLAR $
So you can also Transform or Compare the Value ($) if needed within the LCD config itself.

If you need more then 7 Values then there exist some tricks to do this..... But before i explane this please tell me WHAT you need.
In the past some Users also request for more then 7..... But in all cases the users did a lot of misstakes and there was never a needness for this finaly (Users just thought they need cause they work verry unpracticable)

If 7 is enough.... then fine !.... If not explane your project. Then i can guide you individual !
Good Luck !
2020-11-14 07:03
Avatar
Astor1963
Posts: 23
Supporter
Hello, with seven it can be worth it, it is for a 20x4 LCD and I could put 8 values, but well with 7 it would also work for me. Now I only used 6.
I only need the warning and caution lights for this first phase, I will investigate more about it.
2020-11-14 09:32
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
OK Fine.

Just to guide you into right direction if you need the 8th value maybe in the future.....

The Key is then to combine 2 Values into ONE Config line . This is possible by math formulas.... BUT this is advanced and difficult in some situations.

For example the COM Frequencys.... Lets say the COM1 Config is "123.45" ( means a raw value of 12345) . Also say the COM1 Stby is 121,50 ( so 12150)
If we now create a config that use this 2 Configs as a placeholder ( a= COM1 b = COM2 ) Then we say in transform a*100000+b
in Our example 12345*100000= 1234500000 ..... +12150 is 1234512150
Result: THIS Config now include Both Values at once.
In the LCD Config you read this as a placeholder for example symbol %
Text is something like : COM1 ACT: %%%%% COM1 STB : %%%%%
( You see you can "split" the placeholders..... So they can include 2 values without Problems !)
So it show the first 5 numbers left and the last 5 numbers in the second field.

Major Problem: This get critical if a Raw Value can change the number of diggits. E.g. Heading!
Lets say you got Heading 222° and again COM1 12345 .... Formula Heading*100000+Com1 .... 222*100000= 22200000 This+12345 = 22212345
Looks good..... But what happen if Heading is just 5° ..... Then 5*100000= 500000 +12345= 512345
If we use In Display HDG: %%% COM %%%%% then the first 222° Situation work fine.... But the 5° Situation will show HDG: 512 COM: 345.00
Here we would need difficult IF ELSEIF to include the zeros by hand OR we must use the config that have variable number of diggits at LAST


Interesting is this system if we already plan to compare things by text.... E.g if a Vaue is 1 the Display should show ON if a vaue is 0 then it should show OFF
Here we can simply combine those two Configs to one ... by a*10+b If Both are OFF then it´s 0 ... a ON means 10 .... b ON means 1.... Both ON means 11.
Here in Compare we say.... If 0 then OFFOFF If value is 1 then OFFON If value is 10 then ON OFF if value is 11 then ON ON
Text on Display like FunctionA: %%% FunctionB: %%%




Hope this Info is helpfull ! If you get into troube simply request for help !
Good Luck !
2020-11-14 11:56
Avatar
Astor1963
Posts: 23
Supporter
OK thanks for the detail, I think I'm not complicated hahahaha
with 7 values I am satisfied
2020-11-14 13:00
icon