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! 

icon
Avatar
takesan
Posts: 2
i use xplane11
i need two lamp control offset
master caution and fire warn bell cut...
sorry
2019-01-20 14:21
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 2578
Supporter
Welcome to Mobiflight.

As i told to all users.... YOU must give us more information !

Basicly we must know what AddOn do you use.

I also think this will get problematic. Fire Warn and Master Caution are not include in Standard Table ( Only in the AddOns)
and as i sayd 1000 times.... In Xplane this is not exported to XPUIPC in the standard Version.

So just a presumption..... But i think its not possible to read this out (Whatever AddOn you use) .... Only if you add some script lines in the XPUIPC Code. Then its possible 99% !
Good Luck !
2019-01-21 11:51
Avatar
takesan
Posts: 2
thank you
xplane11 datarefs
sim/cockpit/warnings/annunciators/master_caution int y boolean Master caution light on/off
to write xpuipcoffsets.cfg?
2019-01-21 15:03
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 2578
Supporter
Thats right.

You find the DataRef.... Your work now is to edit the XPUIPC File. (Open it with a text editor)
There is also a short manual there.

I can´t help you with that step.... I not own Xplane so i can´t test it.
Good Luck !
2019-01-22 14:35
Avatar
Otacon
Posts: 21
Konbonwa takesan,

I tried it and it worked with following configuration:

#master caution
Dataref mcaution sim/cockpit/warnings/annunciators/master_caution int
Offset 0x4112 UINT8 4 r $mcaution >mcaution @

In MF you have to set:
Offset 0x4112 (or whatever you want to use)
Typ int Bytes 1
Mask 0xFF
Greetings,
Maik
2019-02-07 22:11
Avatar
cjwon97210
Posts: 1
Hi Otacon

You mean if we have dataref then we can define it by myself?
2019-03-16 13:46
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 2578
Supporter
Basicly a Dataref is like a Offset ( A Simple Value that can be readout)

I don´t know if Datarefs in Xplane also have a "Flag" that define if they are READ ONLY .... WRITE ONLY .... READ/WRITE

So... If it´s Read/Write then you can Read it to show data in Mobiflight..... And you can also Write it to change Data in Sim.
If its only READ then you can NOT change Value by a Input !


I´m sorry i can not confirm if Flags exist in Xplane and how those Datarefs work. Here you need a specialist ( not me)
Good Luck !
2019-03-16 13:53
icon