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! 

icon
Avatar
padbol2000
Posts: 3
Hello

I dont find the solution to fix the "negative" heading indication.

When i'm turning left -->30° , 20° , 10° , 0° , --10° (not 350° !)

How can i fix it ?

here the --> "more option" --> "transform" in the fsuipc preset windows : "$*8.3819E-08"

Tx

julien
2017-03-12 15:11
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 2773
Supporter
??? I don´t understand !

The Preset is working and not result in negativ values.... Where do you find the transform "$*83819E-08" ???

Mobiflight Transform is "$*0.0054931640625" and it workes fine (+/- 1° in case of rounding)

Do you use not the recommend offset 07CC for this ?
Good Luck !
2017-03-12 16:22
Avatar
padbol2000
Posts: 3
I'm talking about the "current heading" 0x0580 NOT the "autopilot heading" 0x07CC
2017-03-12 16:34
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 2773
Supporter
Ahh OK
Sorry i thought for AP Heading first.

By the Way this is True Heading .... Not Magnetic !

This is a just a Signed/Unsigned Problem..... Our Function is for Unsigned..... But Readout is Signed. (With Negative Values)

To solve this....
Simply add a Compare on second Tab.....
IF Value Smaller then Zero <0 .. THEN $+360 .
Good Luck !
2017-03-12 17:10
Avatar
padbol2000
Posts: 3
It works !!

tx!
2017-03-12 20:35
Avatar
AJiator
Posts: 1
Hii I am trying to get output of COURSE on 7 segment display, for default FSX Cessna 172. I Used (<0, $+360, $) in compare tab, and it works finr for value less than 0 but when in turn CRS/OBS knob more than 359 then the value goes like 100,200,300 etc instead of 001,002,003 and so on. Please Help. My setting are as follows:
In FSUIPC Tab:
Offset: 0x0C4E
Value type : Int ; Size :2
Mask Value with 0xFFFF

In Compare tab:
<0
$+360
$

Please help to get CRS/OBS output like 000-359 and again 359 to 000, 001 002 etc not 100,200 etc...
Thanks...
2019-05-01 10:32
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 2773
Supporter
Hi

As i new user i will welcome you to Mobiflight ! :)
But i will also grumble you !
PLEASE .... Do NOT reopen topics that are death since 2 Years. And specialy not ask a question that have a different thematic like the topic you reopend :sneaky:

About your request.

Whatever this is normaly done today in the Transform Field (more easy more logical) your current technic in "Compare Tab" still workes.

Your settings are ok. If you "observe" the Mobiflight Connector (Output Tab) you will see in the "FSUIPC Value" and "Output Value" columns that the Value is not 100, 200, 300 as you said... Its correctly 1,2,3

Your Problem is the "Left Padding" Setting.
A Value of "1" with a 3 Diggit Display is shown as....
Left Padding OFF : "100"
Left Padding ON with Zero : "001"
Left Padding ON with Space: " 1"

Go to Display Tab and simply change this settings as you like it.
Good Luck !
2019-05-01 16:23
icon