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
MAGICGURU
Posts: 47
Hi, my name is Stefano and i would like to know how to see on a 7 digit display the values “ OH ELETRICAL, OH PRESARIZATION”

Meataring panel_1
Meataring panel_2
Meataring panel_3
Meataring panel_4
Meataring panel_5
Meataring panel_6

Flt Alt
Land Alt

I have a Arduino Mega.

I would like to have examples to do so.


Best regards

Stefano
2017-07-21 19:05
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi. Please tell us what aircraft you use (AddOn)

This is like you ask me "How can i turn on the Light in My Car.... But you not tell me if you driva a Mercedes, Fiat or Ford or something else.
Every Car got the switch on a other position..... And Every Aircraft AddOn use different technics for this Displays !
Good Luck !
2017-07-21 21:29
Avatar
MAGICGURU
Posts: 47
I' m sorry, my Aircraft is a 737 pmg with fsupc .

Best regards

Stefano
2017-07-30 00:49
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Ok

Please Recheck this in the Offset Mapping ( Include as PDF File in FSUIPC Subfolder)

iconQuote:


Offset: 6C40 Size in Byte : 13 Type: STR13 ELEC_MeterDisplayTop13
Top line: 3 groups of 4 digits (or symbols) + terminating zero

Offset 6C4D Size in Byte 13 Type STR13 ELEC_MeterDisplayBottom13



And for the Landing and Cabine Alt :

iconQuote:


Offset 64E4 Size 4 DWORD AIR_FltAltWindow
Offset 64E8 Size 4 DWORD AIR_LandAltWindow



Just ask again if you have Problems !
Good Luck !
2017-07-31 00:02
Avatar
MAGICGURU
Posts: 47
thank you very much for the answer .I try

Best regards

Stefano
2017-07-31 09:13
Avatar
MAGICGURU
Posts: 47
Hi, the meter panel it's ok thank's ,but LAND ALT and FLT ALT don't work.
The digit of my display show different numbers than fsx numbers.
I do something wrong?
How do i insert the Dword offset on mobyflight sw?

Best regards

Stefano
2017-07-31 23:23
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi
"DWord" mean "DoubleWord" ..... This is a kind of Intger data type.

A Dword is a INT Value with Size of 32 bit (4 Byte)
So please use Typ INT Size 4
Good Luck !
2017-08-01 22:59
Avatar
MAGICGURU
Posts: 47
Hi friend and thank you for the answer but I wanted to ask you which parameter value I must put beyond the id value.

Best regards

Stefano
2017-08-02 18:30
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
iconMAGICGURU:


How do i insert the Dword offset on mobyflight sw?



Sorry... Here i not understand ! SW means "switch" ?? I was confused cause its a encoder not a switch

iconMAGICGURU:

but I wanted to ask you which parameter value I must put beyond the id value.



So i think now you ask about a INPUT ( ID and Parameter is only in Inputs needed )

**************

Inputs in PMDG work different to standard Aircrafts. You can not manipulate the Output Offsets like in standard FSX Planes. You have to use EVENT ID´s from a special PMDG List. Here you can find it .... http://myhomecockpit.de/PMDG_737NGX_EVENT_IDs_SP1d.pdf

iconQuote:


EVT_OH_PRESS_FLT_ALT_KNOB EventID 69850
EVT_OH_PRESS_LAND_ALT_KNOB EventID 69852



The needed Parameters you find in this List (Last Page) , too. Use the Mouse Action you will simular use in the Virtual Cockpit to controll the Switch ( Mousewheel i think in that case)
So you need Parameters 16384 ( Mousewheel UP ) Or 8192 ( Mousewheel DOWN) Use this for "ON LEFT" and "ON RIGHT" of your encoder !


Hope this is your needed information. If not please explane me exact what you need...
Good Luck !
2017-08-04 03:58
Avatar
MAGICGURU
Posts: 47
Thanks for the response, with the parameters you gave me work but not in a linear way the steps are not constant.

Best regards

Stefano
2017-08-04 11:08
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
iconMAGICGURU:

but not in a linear way the steps are not constant.



Dear Stephano
Please explane me what you mean here....

Normaly ( If everything is ok) the Parameter and ID should do the SAME like you use the Mouse in the Cockpit.
So for testing please open your PMDG.... Go in the Virtual 3D Cockpit .... Move your Mouse over the virtual Encoder and turn the Mousewheel up and down.
Look at the Virtual display and check what happen.... A SLOW turning of for example 10 Detents of the Mousewheel should have same result as a turning of your encoder in same way.

Note: The two functions ( LandingALT and CruiseALT) are not simmular.... The Landing alt is working with 50 Steps the other with 100 or 500 if i remember right.

*****
If your test show a problem that your encoder not work correct please check the "LoggingDebug Mode" This can be set ON/OFF in the setting Tab of Mobiflight. Additional please change the FSUIPC Polling ( In the Setting Tab, too) . ( Both kan occure in "missing Events" )
At Last.... Check if your Encoder got a 1:1 or a other PpR-Detent System ( Pulses per Rovolution) . If you have for example 20 Detents but only 10 Pulses then only every 2nd Detent will make a Action in the Sim.

***
Please finaly report if you could solve the problem.
Good Luck !
2017-08-05 07:54
Avatar
MAGICGURU
Posts: 47
Thank's for the answer I will try and tell you.

Best regards

Stefano
2017-08-05 10:38
icon