Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

xml gauge starter switch help

Featured Replies

Howdy,Here is the code for a starter switch.How or what would I add so that the fuel pump has to be on for the starter to work?<Gauge Name="EngineStartJet 1" Version="1.0"> <Element> <Select> <Value>(G:Var1) if{ (A:Circuit general panel on, bool) (A:Eng1 N2 RPM, percent) 50 < && if{ 0 (>K:TOGGLE_STARTER1) } els{ (G:Var1) -- (>G:Var1) } } (G:Var1) 0 != (A:General eng1 starter, bool) ||</Value> <Case Value="0"> <Image Name="switch_off.bmp" ImageSizes="27,39"/> </Case> <Case Value="1"> <Image Name="switch_on.bmp" ImageSizes="27,39"/> </Case> </Select> </Element> <Mouse> <Help ID="HELPID_GAUGE_STARTER_SWITCH"/> <Tooltip ID="TOOLTIPTEXT_LIGHT_STARTER_ON"/> <Cursor Type="Hand"/> <Click>5 (>G:Var1) (>K:TOGGLE_AFTERBURNER1)</Click> </Mouse></Gauge>Thanks,Dan Ellis

Hi,Try:<Value>(G:Var1)if{(A:Circuit general panel on,bool)(A:Eng1 N2 RPM, percent) 50 <(A:GENERAL ENG1 FUEL VALVE,bool)(A:GENERAL ENG1 FUEL PUMP SWITCH,bool)and and andif{ 0 (>K:TOGGLE_STARTER1) }els{ (G:Var1) -- (>G:Var1) }}(G:Var1) 0 != (A:General eng1 starter,bool) |</Value>(why afterburner?) Merry Chrismas and a happy new year!Jan

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Thank you very much Jan.Why Afterburner. I do not know, I did not write the code.Actually I am a novice and just started learning this xml stuff about a week ago. I am an old dBase programmer so that helps a bit.Merry Christmas to you and yours also.Dan Ellis

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.