PDA

View Full Version : Assignment Of Overhead Light Functions



davemckee
11-17-2009, 12:54 PM
I have just completed all wiring and installation of cards on my overhead. Now I want to assign the proper function (lights) to the lower light switches on the right side. I am having trouble because FSX only has 3 light switches on their overhead, I assign through FSUIPC but they don't work , or they work but more than one light function comes on. I believe this is because FSX is only a 3 switch overhead. I am using 2 Leo Bodnar cards, and 2 Phidgets64 Led Cards. Also which light function is assigned to each switch on a real 737?, i/e strobes, nav, fuselage beacon (strobe), etc. As always any help will be MUCH appreciated

metamarty
11-18-2009, 08:11 AM
In my simulation code I had to pull some tricks to get it to work. Some lights FSX are not present and some lights function as a group (all on/all off). I use FSUIPC offset 0x0d0c to set the lights.

Here's my mapping of 737 switches to bitmasks for FSX:


Position lights: 1 << 0
Strobe lights: 1 << 1
Main fixed/Main Retract L/R (4 switches): 1 << 2
Taxi lights: 1 << 3
Anti collision: 1 << 4
Wing lights: 1 << 7
Logo lights: 1 << 8


Wheel well/Runway turnoff: Not connected to FSX
These work for the default 737 in FSX.

1 << 2 means '1 shifted to the left 2 times'.

The only way to get a one to one mapping is by wiring the 4 main landing light switches in series. I personally do it in software.

davemckee
11-18-2009, 09:16 PM
Many thanks for the reply. ne other question....which switch do you assign the various funtions, on the overhead from left to right (bottom right) there's logo, (self explaintory), then position, anti-collision, wing, then wheel well. Are the position light switch another word for nav lights?, anti-collision wing strobes?, then where would you assign the over and under fuselage strobes? Thanks for your help. Dave

metamarty
11-19-2009, 05:03 AM
On this URL you find the official names of the switches: http://www.artietheairplane.com/737_panels/737_main.htm

In the list I posted, I use these names. The names that are in the FSUIPC documentatin vary somehow. Here is the translation from official to FSUIPC name:

Landing -> Landing
Runway turnoff -> [does not exist]
Taxi -> Taxi
Logo -> Logo
Position -> Navigation
Anti collision -> Strobes
Wing -> Wing
Wheel well -> [does not exist]

davemckee
11-19-2009, 01:43 PM
A big "THANK YOU". Dave