Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  Visit [url=http://www.yabbforum.com]YaBB[/url] today ;)

FFDS Home | TIPS Section | Tutorials Section | Resources Section | Utilities Section

Military | FSDS | Jetliners | Real Planes Section | Gmax | Rotorcraft | Business | Civilian

Page Index Toggle Pages: 1
Send Topic Print
Which Flap variable to use? (Read 422 times)
16th Nov, 2019 at 4:02am

Mrlogic   Offline
Point Pusher
I Love FFDS!

Posts: 1
Hello Guys! I'm new to XML gauge programming. This is my third gauge, trying to create.  Need a gauge which shows when Airspeed is <165 knots and Flaps zero or Flaps <1 notch. The .bmp image ( STALL light illuminates )

Here's my simple code:
<?xml version="1.0" encoding="utf-8"?>
<Gauge Name="727 FLAPS Warning" Version="1.1">
<Value> (A:AIRSPEED INDICATED, knots) 165 &lt;
      if{ (A:FLAPS NUM HANDLE POSITIONS, Number) 1 &lt;}
    <Case Value="0">
        <Image Name="stall lightoff.bmp"/>
    <Case Value="1">
        <Image Name="stall lighton.bmp"/>

Should I use a different flap variable?

I've been wrecking my brain trying to get the code to work.
Also, any If statement examples for xml gauge creating would great! Help would be appreciated.

Understand Flying , You''ll understand Flight Simulation Logic.
IP Logged
Page Index Toggle Pages: 1
Send Topic Print