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 Questions

Featured Replies

Hi, i just did a trial for XML gauge coding. So far, i only able to code this far:

<Gauge Name="Tes Output" Version="1.0">		<Text X="110" Y="10" Bright="Yes" Length="11" Font="Arial" Color="Red" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Rudder Deflection, degrees)</Value></String>		</Text>		<Text X="110" Y="21" Bright="Yes" Length="11" Font="Arial" Color="White" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Warning Fuel, bool)</Value></String>		</Text>		<Text X="110" Y="32" Bright="Yes" Length="11" Font="Gill Sans MT" Color="Blue" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Velocity Body X, knots)</Value></String>		</Text>		<Text X="110" Y="43" Bright="Yes" Length="11" Font="Courier New" Color="Cyan" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Velocity Body Y, knots)</Value></String>		</Text>		<Text X="110" Y="54" Bright="Yes" Length="11" Font="Arial Narrow" Color="Red" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Velocity Body Z, knots)</Value></String>		</Text></Gauge>

But, when it is activated at FS9, it only shows blank (black) panel with no writings on it. Can anyone help me? Thanks.

Hi, i just did a trial for XML gauge coding. So far, i only able to code this far:
<Gauge Name="Tes Output" Version="1.0">		<Text X="110" Y="10" Bright="Yes" Length="11" Font="Arial" Color="Red" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Rudder Deflection, degrees)</Value></String>		</Text>		<Text X="110" Y="21" Bright="Yes" Length="11" Font="Arial" Color="White" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Warning Fuel, bool)</Value></String>		</Text>		<Text X="110" Y="32" Bright="Yes" Length="11" Font="Gill Sans MT" Color="Blue" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Velocity Body X, knots)</Value></String>		</Text>		<Text X="110" Y="43" Bright="Yes" Length="11" Font="Courier New" Color="Cyan" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Velocity Body Y, knots)</Value></String>		</Text>		<Text X="110" Y="54" Bright="Yes" Length="11" Font="Arial Narrow" Color="Red" Adjust="Center" VerticalAdjust="Center">			<String><Value>(A:Velocity Body Z, knots)</Value></String>		</Text></Gauge>

But, when it is activated at FS9, it only shows blank (black) panel with no writings on it. Can anyone help me? Thanks.

Too many errors in your code.here is a bit of code to show the nav1 radio freq. You can use this as a template to build the rest of your code. I suggest you read Nike Pikes tutorial on xml as that would provide you with a great deal of help. http://www.fs2x.com/Tutorials.htm**CODE SAMPLE***<Gauge Name="Tes Output" Version="1.0"><Element><Position X="320" Y="219" /><Text X="110" Y="10" Bright="Yes" Length="11" Font="Arial" Color="#7BAD10" Adjust="Center" VerticalAdjust="Center"> <String>%((A:Nav1 Active Frequency,Mhz))%!6.2f!% ----%{end}</String></Text></Element></Gauge>You have to adjust the position tag, X Y, to suit your project.Pay attention to the gauge layout and the A Var you are using, all this is covered on the site in various documents.<Gauge><Element><Position>etcgood luck,Douglas

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.