Results 11 to 16 of 16
Thread: Need some help......
-
07-15-2007, 11:10 PM #11
Alan (+ Bob),
Well... the DECISION_HEIGHT token value at offset 3428 works to read THAT part of the equation! You have to set it to a size of 8, and use a multiplier of 3.2825 on it (close enough for government work) to get the DH in feet from the raw FS value, which has a full range of 0 to 17344.
SO now I just have to compare the DH to the radar altitute above ground and light the LED when it is equal to that or less.
Narrowing this one down one piece at a time.
best,
.................john
-
07-17-2007, 03:18 PM #12
Alan,
For the second "half" of the "have I reached the bugged decision height yet" annunciator light activation...... we also have the Radio Altimiter height above ground (in meters*65536) at 31E4 (length 4).
So the pseudo code logic (without any units correction) for this annunciator is:
If Decision_Height <= Radio_Altimeter_Altitude And Aircraft_On_Ground= 0 Then PhidgetsLEDoutput#x = 1
Or
If 31E4 <= 3428 And 0366 = 0 Then PhidgetsLEDoutput#x = 1
That above will light the annunciator when the actual altitude is at or below the bugged decision height AND the aircraft is not on the ground.
Unfortunately, it will ALSO light up on climbout when the aircraft is below the bugged decision height. I'll have to look for an offset to determine if the aircraft is in the process of approach and landing........ can't just use the simple condition of "If gear down" . Can't use the AP approach mode either.... cause if on a visual, the AP is not set/active.
In the recent Notams you released it looks like the next version will support putting in "systems" stuff like this. That is WONDERFUL.
best,
.....................john
-
07-20-2007, 11:16 AM #13
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
John,
Height_above_Decision_Height = Radio_Altimeter_Altitude - Decision_Height
If Height_above_Decision_Height >= 0 And Height_above_Decision_Height < 100 Then PhidgetsLEDoutput#x = 1
Regards,
Alan.
-
07-23-2007, 03:44 PM #14
Alan,
Great thought! Solves the problem very nicely.
SO roughly how soon is the new version of FS2Phidget (with the nice logic included) going to be released?
best,
.....................john
-
07-29-2007, 08:56 AM #15
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
John,
Give me 2 weeks to add functionality to calculate differences, then I will release a beta.
Was planning on doing difference calcualtion, but you have spurred me on.
Difference calculations are handy for Stab trim warnings, A/T annunciations, etc.
Regards,
Alan.
-
07-29-2007, 07:49 PM #16
Alan,
Excellent news... thanks. Looking forward to it.
Again THANKS for all the work you put into this program.
best,
....................john
Candid connections: Platform for casual relationships Live Women Prime Сasual Dating
Super Сasual Dating - Genuine...