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
froggy
Posts: 3
Hi,

I'm trying to configure a radio stack based on the MAX729 7 segment displays. I've managed to display the standard Com1 frequencies from the presets, but this doesn't work well with the 8,33 type frequencies as it is missing the last digit. I've added a custom offset to the XPUIPCOffsets file like this:

DataRef Com1Active833 sim/cockpit2/radios/actuators/com1_frequency_hz_833 int
Offset 0x6000 UINT32 1 r $Com1Active833

The issue is that in the MF mapping for the 0x6000 offset the FSUIPC value is shown all the time as "111". I've tried to change some of the parameters in this config, but without any success. Anyone has and idea what I'm doing wrong?
2021-02-25 20:28
Avatar
Banzai
From: France
Posts: 90
hi
"111" is an error return of xpuipc look

# If anything goes wrong during expression evaluation, one of the following
# values are returned:
#
# 77 Access violation (write access to a read-only dataref, or vice versa)
# 88 Unbalanced formula (After evaluation, exactly one value has to remain
# on the stack - the final result. If you have too many or too few
# operators for the number of operands, you get this error.)
# 99 Stack overflow (more than 256 values on the stack)
# 111 Dataref not found
# 222 Stack underflow (not enough values on the stack for this operator)

check the syntax of your dataref name or try if another number offset like 6500
2021-02-26 19:13
Avatar
froggy
Posts: 3
I found the issue. Simple syntax error. I've put a uppercase R in "Dataref" :D
2021-02-27 12:04
icon