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
francescocisco
Posts: 2
hello, i'm new in this world and i want to create the electrical panel to improve my overhead, i found only part of the offset like tr1 dc amp or bat dc volt or gen 2 ac amp, so the problem is how to setting mobiflight to create the panel and change the value when i switch the knob?

i try to found a solution to use simvim but I don't know how to use that program, as i am using mobiflight i prefer to stay on this platform.

anyone have an idea how to found a solution to my problem?
i found all part with daterftools but i don't know how i found a dataref code, this is the list

laminar/B738/dc_amp_value (top left)
laminar/B738/dc_volt_value (bottom left)
laminar/B738/ac_amp_value (center)
laminar/B738/ac_freq_value (top right)
laminar/B738/ac_volt_value (bottom right)

thanks
Francesco
[Last edited by francescocisco, 2021-12-07 20:34]
2021-12-07 12:26
Avatar
francescocisco
Posts: 2
update*

i try to edit xpuipc and add this line

Dataref laminar/B738/dc_amp_value float
Offset 0x28C0 FLOAT64 2 r

Dataref laminar/B738/dc_volt_value float
Offset 0x28C8 FLOAT64 2 r

laminar/B738/ac_amp_value float
Offset 0x28D0 FLOAT64 2 r

laminar/B738/ac_freq_value float
Offset 0x2888 FLOAT64 2 r

laminar/B738/ac_volt_value float
Offset 0x28D8 FLOAT64 2 r

on moby i read 88 value (88 Unbalanced formula ), how can i fix this i try to read on some forum but i can't have any solution.
2021-12-07 20:35
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Badly there are not much users here who have experience with Xplane.....

Basically "SimVim" Directly read Datarefs from Xplane.....
Mobiflight is based on FSUIPC ( XPUIPC) so we have no direct access to this Data....
BUT
As you find out the key is to rework the XPUIPC INI File to define what Datarefs you like to use and include them there.

Without see this data i can not give support.....
On First view i ask myself if this are real "Float" Values ???
Why not change for testing the Datatyp..... Or may you have a List from the Zibo what Typ of Data is used.

Simple example: If Display show 12,3 ..... This sound like a FLOAT..... But it can also be a simple Integer 123 ( and the decimal is just optical) like in lots of FSUIPC Offsets,too.
E.g. the FSUIPC COM1 Frequency of 123,45 is NOT a Float.... Its a Integer 2 Byte with value 2345.

So i recommend... TEST!!! Change Datatyp in Integer or String..... Simply find out what XPUIPC Setting give you a "good" result !
Good Luck !
2021-12-07 23:55
Avatar
Banzai
From: France
Posts: 90
the good syntax for dataref is like that

Dataref DC laminar/B738/dc_amp_value float
Offset 0x6520 FLOAT32 1 r $DC

Dataref DCV laminar/B738/dc_volt_value float
Offset 0x6521 FLOAT32 1 r $DCV

etc..
[Last edited by Banzai, 2021-12-08 19:48]
2021-12-08 19:39
icon