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
Lerxst151
Posts: 3
I have been searching and haven't found this so sorry if this has been asked before....
but how do I know what value to use for the FSUIPC Offset - Set Value field?

For a button to turn on Auto Pilot in MSFS2020 a "1" seemed to work but for setting up a rotary encoder on the heading bug I found one thread that said to use "$-182" and "$+182" to increase/decrease the bug one degree. I would never have just guessed to use those numbers.

Is there a document somewhere that lists the values for each of the presets?
2021-03-06 05:14
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

For a Input via "FSUIPC Offset" the Value you send is a WRITE.... Means you tell the Sim it should SET the current System to the Value you send.

For a Momentary Button or a Switch this is as you said mostly "1" or "0". Represent On/OFF in Boolean Offsets.
Some switch got more positions.... Here mostly it start on the LEft or From UP to DOWN with "0" and grow up.
For example a 5 POS Swtich have Value 0,1,2,3,4
Some other OFfsets use higher Values... E.g. Parking BRake in some cases use 32767. So ON is not 1.... its 32767 in that rare cases.

For a ENCODER its different....
HEre we not like to SET to a fixed value.... We like to Increase or Decrease .
Means we need to READ the current value and Add or subtract something and send the result of this calculation back.

For example HEading is 200° And we like to increase.... We Would Read current state ( 200) Then we want to increase by 1° ....
We Say $+1 ( means 200+1=201 ) and result is 201. So we send 201 to the Sim.

In your example the +/-182 result in case the Offset not work 0-359 ..... The Offset is 0-65535 ... So 1 Degree represent a Value Inc/Dec by 182!

******************************

To Solve:

1. Offset Writre is verry uncomfortable.... We use this only if we need. Better are "Events" Specialy in FS2020 we work with a own system of "Simconnect Events"

2. If you use Offset Writes you need the FSUIPC Offset List.
For Standard Aircrafts its included in the FSUIPC Folder . For PMDG it´s also there. For other Aircrafts you must get the List from the AddOn Puplishers some times.
Finaly professional AddOns allow you to choose yourself what Offsets should be used ( Prosim e.g.)
Good Luck !
2021-03-06 06:49
icon