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!
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.
Hi everyone, I am relatively new to this and need your help using custom offsets that are not identified in the file XPUIPC Offsets 20140803.pdf
I am currently running latest MF9.0 and using XPlane11
1. I have written the following dataref into the XPUIPCOffsets.cfg file based on ZIBO.
Dataref six_pack_flt_cont laminar/B738/annunciator/six_pack_flt_cont int
offset 0x6724 UINT8 1 r $six_pack_flt_cont
2. I have then in MF created an output and linked it to the offset 0x6724, then tested the LED to check it illuminated correctly.
3. I then went into XPlane XPUIPC menu option under Plugins and selected the menu item Performance Settings to force a refresh of the offsets config file (as someone previously mentioned in another thread).
4. When I activate the Lights Test to trigger the FLT CONT annunciator the led does not turn on. The output value in MF always reads 0.
5. When I instead switch to the Park Brake light using offset 0x0BCA (as defined in the file XPUIPC Offsets 20140803.pdf), I get an output value of 255 and the LED turns on.
I don't know what I have done wrong here but I just cannot seem to get XPlane and MF to work with custom offsets.
I got not much experience with this XPUIPC Coding......
The fact that a standard Offset likle Parking Brake is working tell me your electrical and MF setting is correct..... But the Custom created Offset not work correctly.
So 2 possible issues.....
1. Wrong Syntax.
For sure.... If your Code in the ini file is not correct, then the "offset" not include data ( or wrong data) .
I recommend to ask a advanced user ( On our Discord Server groups) who can confirm the code for you.
2. Code is still correct BUT Function work not like expected!
When I activate the Lights Test to trigger the FLT CONT annunciator the led does not turn on. The output value in MF always reads 0.
Here i not know the ZiboMod B737..... But maybe this is a feature that can be tricky..... Does the Offset/Dataref show the current state of the Virtual LED OR does it show the status of the virtual function ???
If Offset show status from LED then it "should" change to "1" when you press the SixPack Button in the sim ( cause the virtual LED is also on).
BUT
If the Offset show the "Status" of the function then it remain "0" ..... Cause if you press the Sixpack (Test) then the FltCont warning is not "active" itself ! You just illuminate the LED with the Test temporary ! .... Means the Offset remain "0" in case there is no real FlightCont Warning currently.
Solution.....
Create a situation, where the FlightCont warning is really ON.... not just with the light test.
If it work then ( Offset =1) then you know all is working and the Zibo simply not include the virtual Test..... Then you just need to add a Condition in the Config that it should light if Test is active OR if value is "1" .
If this test also not work and Offset is "0" whatever real Warning is On in sim..... then swap back to Point 1 and check your syntax !
I have successfully triggered the alarm for the FLT CONT on the 6 pack but unfortunately MF still provides SIM and Output values of 0.
It is like as if the config file is not being referenced by XPUIPC and the only offsets that I can access and activate are the "standard" ones. I have copied dataref configuratiions from many other posts but none appear to work at all.
Is there any other means to test that the config file is being referenced to support new datarefs I choose to insert?
I need to send you again to the Pro Users on Discord !
I don´t know the details in case i never ever used XPlane myself..... May you also need to "activate" something in the Zibo at first ????
But from other postings i don´t think so.
So best way.... talk to the advanced guys on our DISCORD ! OR ask the guys from where you copy/paste your codes.... Pretty sure those users are also advanced !