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 Help Needed!

Featured Replies

I'm trying to make a gauge that opens the Cowl flaps automatically when the engine starts, and closes them automatically when it is shut down.This is the code I have now but it will not work.I had a similar gauge on my Stemme Motorglider in fs2k2 using teh concorde nose visor animation so i've tried porting it from there.<Gauge Name="AUTONosecone" Version="1.0"> <Element> <Select> <Value> (A:GENERAL ENG1 RPM,rpm) 100 < if{ 0 (>K:COWLFLAP1_SET } els{ 16383 (>K:COWLFLAP1_SET) } </Value> </Select> </Element></Gauge>Any help is greatly appreciated!Thanks

I'm trying to make a gauge that opens the Cowl flaps automatically when the engine starts, and closes them automatically when it is shut down.This is the code I have now but it will not work.I had a similar gauge on my Stemme Motorglider in fs2k2 using teh concorde nose visor animation so i've tried porting it from there.<Gauge Name="AUTONosecone" Version="1.0"> <Element> <Select> <Value> (A:GENERAL ENG1 RPM,rpm) 100 < if{ 0 (>K:COWLFLAP1_SET } els{ 16383 (>K:COWLFLAP1_SET) } </Value> </Select> </Element></Gauge>Any help is greatly appreciated!Thanks
Anyone have any ideas?

You are missing the closing parenthesis:-(A:GENERAL ENG1 RPM,rpm) 100 < if{ 0 (>K:COWLFLAP1_SET) } els{ 16383 (>K:COWLFLAP1_SET) }

You are missing the closing parenthesis:-(A:GENERAL ENG1 RPM,rpm) 100 < if{ 0 (>K:COWLFLAP1_SET) } els{ 16383 (>K:COWLFLAP1_SET) }
Tried that and still wont work. FSPanelstudio wont even load the gauge in CAB form.New code<Gauge Name="AUTONosecone" Version="1.0"> <Element> <Select> <Value> (A:GENERAL ENG1 RPM:rpm) 100 < if{ 0 (>K:COWLFLAP1_SET) } els{ 16383 (>K:COWLFLAP1_SET) } </Value> </Select> </Element></Gauge>
Tried that and still wont work. FSPanelstudio wont even load the gauge in CAB form.New code<Gauge Name="AUTONosecone" Version="1.0"> <Element> <Select> <Value> (A:GENERAL ENG1 RPM:rpm) 100 < if{ 0 (>K:COWLFLAP1_SET) } els{ 16383 (>K:COWLFLAP1_SET) } </Value> </Select> </Element></Gauge>
Ok got it to function somewhat...I added a small bitmap to the gauge and it now compiles correctly.The gauge is now however holding the cowlflaps closed no matter what engine RPM is. I have a manual button to open them, but as soon as I hit it the cowlflaps open then close immediatly no matter what state the engine is in.Any Ideas?here is my new code.<Gauge Name="AUTONosecone" Version="1.0"> <Element> <Select> <Value> (A:GENERAL ENG1 RPM:rpm) 100 < if{ 0 (>K:COWLFLAP1_SET) } els{ 16384 (>K:COWLFLAP1_SET) } </Value> <Image Name="nosecone.bmp" ImageSizes="1,3"/> </Select> </Element></Gauge>
Ok got it to function somewhat...I added a small bitmap to the gauge and it now compiles correctly.The gauge is now however holding the cowlflaps closed no matter what engine RPM is. I have a manual button to open them, but as soon as I hit it the cowlflaps open then close immediatly no matter what state the engine is in.Any Ideas?here is my new code.<Gauge Name="AUTONosecone" Version="1.0"> <Element> <Select> <Value> (A:GENERAL ENG1 RPM:rpm) 100 < if{ 0 (>K:COWLFLAP1_SET) } els{ 16384 (>K:COWLFLAP1_SET) } </Value> <Image Name="nosecone.bmp" ImageSizes="1,3"/> </Select> </Element></Gauge>
WOOHOO success.the problem was so simple it almost makes me cry thinking how much time I spent trying to fix this.(A:GENERAL ENG1 RPM:rpm) Will not work.....(A:GENERAL ENG1 RPM,rpm) Works perfectly. Seems you need a "," not a ":" as a seperator. Things have changed since FS2k2 as : worked perfectly there.Now I just need to figure out how to keep my Ailerons from going nuts when I do my wingflex grrrrrr

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.