PDA

View Full Version : Adding landing Gear lights to P5 Overhead



null null
11-12-2004, 06:38 PM
This adds the 3 landing Gear lights to the P5 Overhead

Add this to the [elements] section

textlightbox RIGHT%GEAR,-0.3,125.1,.6,g,RightGear, 6 , 3
textlightbox NOSE%GEAR,-6.9,134.5, .6 , g ,NoseGear, 6 , 3
textlightbox LEFT%GEAR,-14.0,125.1, .6 , g ,LeftGear, 6 , 3



Add this to the [logics] section

NoseGear = (fsNoseGearPos > 16000) and (batt1 = 1)
LeftGear = (fsLeftGearPos > 16000) and (batt1 = 1)
RightGear = (fsRightGearPos > 16000) and (batt1 = 1)

Add The following FS Offsets to the sysvar.txt file

0BEC 4 fsNoseGearPos // 0=full up, 16383=full down
0BF0 4 fsRightGearPos // 0=full up, 16383=full down
0BF4 4 fsLeftGearPos // 0=full up, 16383=full down


David

Rob Archer
11-12-2004, 08:50 PM
And i thought you didn't know programming! LOL
Rob
"David Allen" wrote in message
news:269326.53456@wb.onvix.com...
> This adds the 3 landing Gear lights to the P5 Overhead
>
> Add this to the [elements] section
>
> textlightbox RIGHT%GEAR,-0.3,125.1,.6,g,RightGear, 6 , 3
> textlightbox NOSE%GEAR,-6.9,134.5, .6 , g ,NoseGear, 6 , 3
> textlightbox LEFT%GEAR,-14.0,125.1, .6 , g ,LeftGear, 6 , 3
>
>
>
> Add this to the [logics] section
>
> NoseGear = (fsNoseGearPos > 16000) and (batt1 = 1)
> LeftGear = (fsLeftGearPos > 16000) and (batt1 = 1)
> RightGear = (fsRightGearPos > 16000) and (batt1 = 1)
>
> Add The following FS Offsets to the sysvar.txt file
>
> 0BEC 4 fsNoseGearPos // 0=full up, 16383=full down
> 0BF0 4 fsRightGearPos // 0=full up, 16383=full down
> 0BF4 4 fsLeftGearPos // 0=full up, 16383=full down
>
>
> David
>

null null
11-13-2004, 02:11 AM
Hi Rob
I just took BASIC in College around 1968 not all of the brain cells
have died off!

David

On Fri, 12 Nov 2004 19:50:17 EST, Rob Archer
wrote:

>And i thought you didn't know programming! LOL
>Rob
>"David Allen" wrote in message
>news:269326.53456@wb.onvix.com...
>> This adds the 3 landing Gear lights to the P5 Overhead
>>
>> Add this to the [elements] section
>>
>> textlightbox RIGHT%GEAR,-0.3,125.1,.6,g,RightGear, 6 , 3
>> textlightbox NOSE%GEAR,-6.9,134.5, .6 , g ,NoseGear, 6 , 3
>> textlightbox LEFT%GEAR,-14.0,125.1, .6 , g ,LeftGear, 6 , 3
>>
>>
>>
>> Add this to the [logics] section
>>
>> NoseGear = (fsNoseGearPos > 16000) and (batt1 = 1)
>> LeftGear = (fsLeftGearPos > 16000) and (batt1 = 1)
>> RightGear = (fsRightGearPos > 16000) and (batt1 = 1)
>>
>> Add The following FS Offsets to the sysvar.txt file
>>
>> 0BEC 4 fsNoseGearPos // 0=full up, 16383=full down
>> 0BF0 4 fsRightGearPos // 0=full up, 16383=full down
>> 0BF4 4 fsLeftGearPos // 0=full up, 16383=full down
>>
>>
>> David
>>

Rob Archer
11-13-2004, 03:42 AM
LOL!!
You know i was thinking, (UH OH) using phidgets, it should be easy to
program in a "master" light test button. That way it eliminates alot of
extra wiring.
Rob

"David Allen" wrote in message
news:269399.53456@wb.onvix.com...
> Hi Rob
> I just took BASIC in College around 1968 not all of the brain cells
> have died off!
>
> David
>
> On Fri, 12 Nov 2004 19:50:17 EST, Rob Archer
> wrote:
>
> >And i thought you didn't know programming! LOL
> >Rob
> >"David Allen" wrote in message
> >news:269326.53456@wb.onvix.com...
> >> This adds the 3 landing Gear lights to the P5 Overhead
> >>
> >> Add this to the [elements] section
> >>
> >> textlightbox RIGHT%GEAR,-0.3,125.1,.6,g,RightGear, 6 , 3
> >> textlightbox NOSE%GEAR,-6.9,134.5, .6 , g ,NoseGear, 6 , 3
> >> textlightbox LEFT%GEAR,-14.0,125.1, .6 , g ,LeftGear, 6 , 3
> >>
> >>
> >>
> >> Add this to the [logics] section
> >>
> >> NoseGear = (fsNoseGearPos > 16000) and (batt1 = 1)
> >> LeftGear = (fsLeftGearPos > 16000) and (batt1 = 1)
> >> RightGear = (fsRightGearPos > 16000) and (batt1 = 1)
> >>
> >> Add The following FS Offsets to the sysvar.txt file
> >>
> >> 0BEC 4 fsNoseGearPos // 0=full up, 16383=full down
> >> 0BF0 4 fsRightGearPos // 0=full up, 16383=full down
> >> 0BF4 4 fsLeftGearPos // 0=full up, 16383=full down
> >>
> >>
> >> David
> >>
>

Enrico Schiratti
11-13-2004, 12:24 PM
Love it when these things are done. It's the bread and butter of
pmSystems.

I can also add some special code that generates properly done gear
indicators as I have done for the standalone and are inserted like the
special gauges in the overhead.

Ciao

Enrico

"David Allen" wrote in message
news:269326.53456@wb.onvix.com...
> This adds the 3 landing Gear lights to the P5 Overhead
>
> Add this to the [elements] section
>
> textlightbox RIGHT%GEAR,-0.3,125.1,.6,g,RightGear, 6 , 3
> textlightbox NOSE%GEAR,-6.9,134.5, .6 , g ,NoseGear, 6 , 3
> textlightbox LEFT%GEAR,-14.0,125.1, .6 , g ,LeftGear, 6 , 3
>
>
>
> Add this to the [logics] section
>
> NoseGear = (fsNoseGearPos > 16000) and (batt1 = 1)
> LeftGear = (fsLeftGearPos > 16000) and (batt1 = 1)
> RightGear = (fsRightGearPos > 16000) and (batt1 = 1)
>
> Add The following FS Offsets to the sysvar.txt file
>
> 0BEC 4 fsNoseGearPos // 0=full up, 16383=full down
> 0BF0 4 fsRightGearPos // 0=full up, 16383=full down
> 0BF4 4 fsLeftGearPos // 0=full up, 16383=full down
>
>
> David
>

null null
11-13-2004, 02:02 PM
On Sat, 13 Nov 2004 11:24:24 EST, Enrico
Schiratti wrote:

> Love it when these things are done. It's the bread and butter of
>pmSystems.

Just finished up the Engine / APU Pneumatics so the pressure follows
the N1 RPM, Just need an random number to generate some variance in
PSI .

Because the aircraft is sitting in the hanger I added the Ground Air
connection so that the system has pressure without the need for a APU
or Engine to be running. So the "Hanger" becomes another user option.

David

>I can also add some special code that generates properly done gear
>indicators as I have done for the standalone and are inserted like the
>special gauges in the overhead.
>
>Ciao
>
>Enrico
>
>"David Allen" wrote in message
>news:269326.53456@wb.onvix.com...
>> This adds the 3 landing Gear lights to the P5 Overhead
>>
>> Add this to the [elements] section
>>
>> textlightbox RIGHT%GEAR,-0.3,125.1,.6,g,RightGear, 6 , 3
>> textlightbox NOSE%GEAR,-6.9,134.5, .6 , g ,NoseGear, 6 , 3
>> textlightbox LEFT%GEAR,-14.0,125.1, .6 , g ,LeftGear, 6 , 3
>>
>>
>>
>> Add this to the [logics] section
>>
>> NoseGear = (fsNoseGearPos > 16000) and (batt1 = 1)
>> LeftGear = (fsLeftGearPos > 16000) and (batt1 = 1)
>> RightGear = (fsRightGearPos > 16000) and (batt1 = 1)
>>
>> Add The following FS Offsets to the sysvar.txt file
>>
>> 0BEC 4 fsNoseGearPos // 0=full up, 16383=full down
>> 0BF0 4 fsRightGearPos // 0=full up, 16383=full down
>> 0BF4 4 fsLeftGearPos // 0=full up, 16383=full down
>>
>>
>> David
>>