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
86abaile
Posts: 3
I'm trying to create a radio panel for the zibo mod in xplane. I've used the COM1 preset and it displays the first 5 digits but it's missing the 6th digit. Obviously it can only be either a 5 or a 0, but how do I get around this?
2021-07-21 16:12
Avatar
86abaile
Posts: 3
So I found the answer myself. The COM1 (and 2) datarefs are for 25hz spacing and for 833 spacing a different dataref must be used that isn't included by default in XPUIPC.
So far I've got the following written to add them, I just need to figure out what offsets are available before I begin testing them.
iconCode:
# Dataref com1actv833 sim/cockpit2/radios/actuators/com1_frequency_hz_833 int
# Dataref com2actv833 sim/cockpit2/radios/actuators/com2_frequency_hz_833 int
# Dataref com1stby833 sim/cockpit2/radios/actuators/com1_standby_frequency_hz_833 int
# Dataref com2stby833 sim/cockpit2/radios/actuators/com2_standby_frequency_hz_833 int
# Offset 0x UINT32 2 r $com1actv833
# Offset 0x UINT32 2 r $com2actv833
# Offset 0x UINT32 2 r $com1stby833
# Offset 0x UINT32 2 r $com2stby833
2021-07-21 18:15
Avatar
86abaile
Posts: 3
I ended up using the following. I did initially use offsets 7000 to 7003, but for some unknown reason only COM2 STBY worked and the rest would show a mess of numbers that would constantly change whenever you tried to change COM2 STBY. I don't know the reason why, but putting some space between those hex addresses fixed the issue.
iconCode:
Dataref com1actv833 sim/cockpit2/radios/actuators/com1_frequency_hz_833 int
Dataref com2actv833 sim/cockpit2/radios/actuators/com2_frequency_hz_833 int
Dataref com1stby833 sim/cockpit2/radios/actuators/com1_standby_frequency_hz_833 int
Dataref com2stby833 sim/cockpit2/radios/actuators/com2_standby_frequency_hz_833 int
Offset 0x7010 UINT32 2 r $com1actv833
Offset 0x7020 UINT32 2 r $com2actv833
Offset 0x7030 UINT32 2 r $com1stby833
Offset 0x7040 UINT32 2 r $com2stby833
2021-07-22 00:06
icon