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.

Go to page 1Go to page 012Go to page 2Go to page 2
Avatar
oscarf
Posts: 11
Hi everyone!

I have now been sitting for several days trying to get NAV1 and com1 to work with encoder, but I'm missing luck with this :cry: .

The thing I struggle with is getting the right "Value"
I have read the manual of FSUIPC and throughout the forum here, but can not find the answer to this.

I have P3D v3 and FSUIPC + WideFS, I run MFConnector on another client machine with widefs and it works fine.

Is there anyone here who already have the proper values to these things here, or if someone can please help me find the right value?

Example value that I have tried: if($>=1900,$-1$+1900)

I need Values for:
Radio - COM1/2 Standby Freq MHz Increase
Radio - COM1/2 Standby Freq MHz Decrease
Radio - NAV1/2 Standby Freq MHz Increase
Radio - NAV1/2 Standby Freq MHz Decrease

Course Increase/Decrease
Speed Increase/Decrease
Heading Increase/Decrease
Altitude Increase/Decrease
V/S Speed Increase/Decrease

ADF1/2 RFQ Increase/Decrease
DME1/2 RFQ Increase/Decrease
Transponder Increase/Decrease

In advance many thanks

Best
Oscar
[Last edited by oscarf, 2015-10-31 13:46]
2015-10-29 23:55
Avatar
oscarf
Posts: 11
Hi again, i've been playing around with it and got small success so far. But I am try to change the frequency of COM1 Standby Freq MHz Decrease (Offset: 311A).

No matter what I do it will not increase or decrease with 25Mhz.
For example, from the frequency 125.000 one step down will be 124.975. (= -25Mhz)

Here are the settings I have in mobiflight panel:

On Left
Offset = 0x311A
Value Type = Int
Size in Bytes = 2
Value = if($>=1900,$-100,$+1800)
Mask value witw = 0xFFFF
BCD Mode = ON


Here's what I've tried out:
With $-25
gives me 124.750

With $-1
gives me 124.990

With $-2
gives me 124.980

With $-3
gives me 124.975 but on next step it gives 124.940, when it should be 124.950

What value is to be used to increase or decrease with 25Mhz on the COM freq?
Is there something I'm doing wrong or forgot?

Best
Oscar
2015-11-02 22:59
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
Hi Oscar,

it's 5.
Decrease:
iconCode:
if($>800,$-5,1795)

Increase:
iconCode:
if($<1795,$+5,800)


For Fast-dial use 25 instead.

I currently see that the example file from release 5.0 somehow disappeared from the examples folder in the current release.
I will fix this with the next update - coming soon.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-11-03 21:47
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
Ok, I moved it to the presets... I see. But it is only MHz not KHz
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-11-03 21:51
Avatar
oscarf
Posts: 11
Hi DocMoebiuz

Now I tried again with these values your specified here, but it did not work at all.

I think there must be something more wrong / bug with the software.
Also as you mention, I could not either find the sample file.
Only thing I can find in the folder called Examples are a file called example-default-plane-v6.1.mcc, but the file contains exactly the same settings / presets as listed in the software already.

Am very thankful for assistance

Do you have another software version I can try with?

thanks

Best
Oscar Florian
2015-11-04 17:55
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
Hi Oscar,

I am sorry, I sent you the NAV settings instead. These here were tested with COM by me:

Decrease / Left
iconCode:
if($>=1800,if($%5==0,$-3,$-2),3697)

Increase / Right
iconCode:
if($<3697,if($%5==0,$+2,$+3),1800)
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-11-04 22:56
Avatar
oscarf
Posts: 11
Hi again DocMoebiuz

When I see the variable you write here then I understand why I have spent over 2 weeks without finding the answer. :rolleyes:

Now COM works as normal :thumbup:

Many many thanks for your help and support ;)

Do you know roughly the date of an update of MobiFlight software?

Thinking maybe it would have been nice if you could included the preaset of these values here that I mentioned at the top.

Best
Oscar Florian
[Last edited by oscarf, 2015-11-05 22:22]
2015-11-05 22:12
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
I think about an update this or the next weekend most probably.

iconCode:
if($>=1800,if($%5==0,$-3,$-2),3697)

Want me to explain it quickly?
The offset does not store the leading static 1.
Range goes from 118.00 (1800) to 136.97 (3697).
If you try go below 1800 then just make it 3697 so that it "wraps around".
The tricky part is in case that you actually can decrease the value.
If the value ends in 0 or 5 then you have to decrease by 3 otherwise 2. Example 119.55 -> reduce 3 -> 119.52 -> reduce 2 -> 119.50.
This is expressed by $%5==0, which means if current value modulo 5 equals 0 then subtract 3 otherwise 2.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-11-05 23:05
Avatar
oscarf
Posts: 11
Hi mate,

Again many many thanks for your support :thumbup:

Best
Oscar Florian
2015-11-09 16:06
Avatar
oscarf
Posts: 11
Hello again :)

Is it possible to get the last digit number visible on the output display for COM?
As it is in a real VHF on a 737, for example 127.975 becomes visible as 127.975 and not 127.97

Thanks
2015-11-09 21:07
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
I'll have look at it on the weekend
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-11-12 02:12
Avatar
oscarf
Posts: 11
Thank you alot mate :thumbup:

iconDocMoebiuz:

I'll have look at it on the weekend

2015-11-13 23:12
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
For the display try

In the comparison tab use the following for both cases
iconCode:
if($%5==0,$*10+100000,$*10+100005)
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-11-15 22:23
Avatar
oscarf
Posts: 11
Hi again Sebastian,

I'll try with the code and report asap :thumbup:

Thanks

Best
Oscar
2015-11-16 17:00
Avatar
oscarf
Posts: 11
iconDocMoebiuz:

For the display try

In the comparison tab use the following for both cases

iconCode:
if($%5==0,$*10+100000,$*10+100005)



Hi again Sebastian :)

The comparison works perfect :thumbup:
Thanks you a lot mate

Best
Oscar
2015-11-22 22:24
Go to page 1Go to page 012Go to page 2Go to page 2