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
ChrisAmu
Posts: 1
Hellos everyone.
I have a question about some config on Xplane 11 trough Mobiflight.
I’ve builded a sim and now I’m on config.
My problem appears when I turn encoder to modify frequence on Nav radio.
I use the value $ +1 and $-1 on opposite site.
Mu question remains on, can I modify this value to only move in between 105 and 125 with +1 or -1 only in between those numbers? as every time I turn Encoder is setting up to 0 as I readed is predefined method resetting, and going even to minus999 for exemple

Any help would be really appreciatet.
Thanks in advance
2024-01-22 18:58
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi,
There are two methods:
1) use math with if statement with a wirteable dataref
2) use commands
https://www.siminnovations.com/xplane/command/
write NAV 1 in the description field and you find a few relevant commands
e.g.
sim/radios/stby_nav1_coarse_down (this is the big number, the integer part of the freq.)
sim/radios/stby_nav1_coarse_up.
sim/radios/stby_nav1_fine_up (this is the fraction part of the freq.)
sim/radios/stby_nav1_fine_down

in MF action windows you have to click 'show code' and select 'command'.
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2024-01-24 10:00
icon