Log in

View Full Version : Phidgets 5.0.16 Landing gear lite problem



KenK
02-27-2010, 03:30 PM
Thanks for all the work on the Led-64 problem. I got my board fired up and loaded 5016.

Started with 2 circuits: $07c8 AP HDG LOCK and $036c Stall warning . I wanted to test a button state and a warning light and see if I was using the program correctly.Started up FS9 and both led-64 outputs worked correctly with stock KA-350 acft . :grin::grin::grin:

Next step Landing lites. Created a new project and 2 new circuits. ckt 1= $0bf0 Left Gear and $0bec Nose Gear. These are proportional variables so I set both max values= 16383 and min values = 10000
Started FS9 , both lights came on and stayed on regardless of the gear position.
Tried restarting Phidgets same result. While the gear was in motion I could see the slider on both parameter Icons moving left to right. Also the "meter" values would change in sync with the gear position. :(:(.

Program seems to work well. Proportional functions are the only thing I had a problem with so far.
Somtimes the startup is a little tricky getting fs9 going before starting phidgets. Maybe a batch file Hmmmm...

System specs: P4-3.4ghz,2g ram,Phidgets 5.0.16,phid 21 v2.1.6, >net 1.1,.net 2.0 ,win xp sp2,fs9


Regards Ken k

CocnutAir
03-01-2010, 10:25 PM
Ken,
Digital output is either on or off.
Circuit is going to be on thru the entire gear cycle.
How about putting in a valve to filter the values when indicator should be on.
Make sure the the valve's shutoff property is true.
You can also create a parallel circuit to the valve, and use that to set an indicator for when the when gear is up.

Exapnd some more on "tricky getting fs9 going before starting phidgets".

Regards,
Alan

KenK
03-02-2010, 09:08 AM
Hi Alan:

The digital outputs for hdg and stall worked great. The landing gear lite offsets $0bF0 (left main) and $obec (nose) are actually proportional values as shown on the FSUIPC docs and also on the drop down variable list. I could not not locate a digital gear lite in any of the FSUIPC documents.

The start up problem I have occurs because FS9 must be running before FS2 phidgets is started. If I start FS2 phidgets then FS9 it does not seem to connect to FSUIPC. I may be wrong about this so I will delve into it when I get the gear lites working.

Thanks for your help on this .
Regards Ken K

CocnutAir
03-02-2010, 09:29 PM
Ken,

The idea behind the valve is you can take a portion of the gear range and make a light come on when gear is in that range. The range can be a as small as the fully extended of fully extended position.

FS is detected when fs2phdget5 starts up. Same way it worked in previous versions.

Regards,
Alan.

KenK
03-03-2010, 11:43 AM
Hi Alan:

Thanks for the quick update. You are correct the old program required FS9 to be running first.

The gear lite operation you described is exactly what I am trying to do. I didnt realize I needed a valve function to detect ranges. I just ASSumed the offset would work if I programmed Max Min setpoints in the gear lite variable properties. I will give the valve a try. I also need to read the manual more carefully.

Regards Ken K

CocnutAir
03-03-2010, 09:21 PM
np, Ken.
Manuals tend to be a bit dry, that's what forums are for.
Also gives me an indication of where folks are struggling conceptually.
Based on feedabck I will go back and tweak the manual,
or tweak the product to make it more intuitive.
Team effort.

Regards,
Alan

KenK
03-03-2010, 11:24 PM
Hi Alan:

Just a quick update. The valve suggestion worked great !!!!! The lites all operate correctly.
Your manual is good. The software is directed at many types of modules so its pretty hard to cover it all in depth.

Thanks for your help on this.
Regards Ken K

CocnutAir
03-04-2010, 01:50 AM
Now that I an starting to get feel for obstacles ya'll (whatever happened to the plural for "you"in English?and what was it when there was one? or was the singular "thee" and "thou"? ) are encountering, I am thinking that more working examples should be included. What do youz think?

KenK
03-04-2010, 09:26 AM
My vote would be SIMPLE working examples.
1 simple example of each element with some typical variable values thrown in would be helpful.
I find that most poeple, myself included can look at examples and intuitively figure out how to use these elements for their application.

Just my 2c worth.

Regards to all
Ken K