Thread: FSUIPC and rotaries
-
05-07-2011, 11:26 AM #1New Member
- Join Date
- Nov 2008
- Location
- Germany
- Posts
- 3
FSUIPC and rotaries
Hi Nico,
first of all I would like to Thank you very much for providing a FSUIPC related version of your great software. Much appreciated!
I got the concept to manage all my switches/toogles of my GoFlight T8/P8 modules including LED's but I'm afraid I missed something regarding rotaries and the way I'm supposed to set them up.
E.g. APU rotary: to switch to "APU Start" I assume I have to write value "1" into 0x9057 ... but this doesn't work for me. The panel switch doesn't move nor does the position indicator at 0x92c5 updates its value.
My config: Goflight RP48 in combination with FSUIPC and LUA
Any ideas or comments?
Many Thanks in advance
Torsten
-
05-08-2011, 12:04 PM #21000+ Poster - Fantastic Contributor
- Join Date
- Jan 2007
- Location
- Netherlands
- Posts
- 1,187
Re: FSUIPC and rotaries
Hi Torsten,
For a rotary switch with three positions, such as the APU, you have to provide information in Vars 85 AND 86 AND 87 (that's why they have been defined in one green shaded table, in this case with three rows...).
To start the APU you not only have to write a 1 in 0x9057 but also a 0 in 0x9055 and a 0 in 0x9056, otherwise lekseecon can not conclude the position of your hardware rotary switch.
regards,
Nico
-
05-09-2011, 04:35 PM #3New Member
- Join Date
- Nov 2008
- Location
- Germany
- Posts
- 3
Re: FSUIPC and rotaries
Thank you Nico!
You made my day
Works like a charm.
Torsten
-
05-11-2011, 08:57 AM #41000+ Poster - Fantastic Contributor
- Join Date
- Jan 2007
- Location
- Netherlands
- Posts
- 1,187
Re: FSUIPC and rotaries
Thank you!
The idea behind this is simplicity for the builder of the home cockpit.
Each position of a rotary switch is connected to an input in your cockpit electronics (whatever that is, FSBUS, Phidgets, Leo Bodnars, ..). If the rotary switch is set in the position corresponding with the input, you write a '1' in the FSUIPC offset for that position; if it is not you write a "0".
Lekseecon will detect which variable is set and will send the right command to the level-D SDK.
Nico



LinkBack URL
About LinkBacks
Reply With Quote



I never received any solution to my 2 tickets summited (first was a year ago, second last week),...
SA-WXR weather radar broken with...