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.

Posts: 1

First of all thanks to everyone who contributes to this forum, I am new here but I can see that support is great!
I recently bought a 737DIY MCP project (already built by another guy who was using it on MSFS2020) and I am doing a config on Mobiflight to use it on P3D which I personally prefer. So far I managed to program most of the MCP with small things to adjust.

I am currently trying to figure how to display altitude values correctly. When in the sim I move the alt selector from 0 to 100 (for example) the 5-digits window I have on the MCP displays "1000", if I increment to 200 it displays "2000" and so on. I tried to follow some tutorials but I don't seem to find/understand the logic to use the first two zeros (from left to right) in order to properly display the hundreds figures into something like: 00100, 00200 or for example 05500 (5500 ft) which my MCP rught now displays as 55000.

If it helps this is my current config for alt window:
Value:Int | Size in Bytes: 2
Mask value with:0xFFFF
Comparison: Compare: If current value < 0 then $+6536 else $ (I found this on a tutorial on this forum, without this comparison the alt window stays blank)
N. of digits: 8 Left padding: no
Precondition: none

If anyone would be able to help me display correctly figures in the altitude window I would greatly appreciate your help!


2023-12-24 12:53