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.

Cessna Citation AOA gauge

Featured Replies

Hello guys,I'm afraid i got a bit lost on the citation AOA gauge. This particular gauge is a 'clock style' gauge. The scale goes from 0 (which is an angle of attack of 0) to 1, which is an angle of attack of 17 degrees (at which point the aircraft will stall). The calculation for this is very simple: AOA/ 17 is what the meter should point to. Sounds easy, should be easy, but i cannot get this to work . :-hmmm So this is the current code of the gauge: ((A:INCIDENCE ALPHA, degrees) 17 /)%((A:INCIDENCE ALPHA, degrees) 17 /)%!4.2f!Note that the 2nd element is just there for testing purposes, it shows the AOA/ 17 in exact numbers, so i can check if the arrow points to the right value.As indicated above though, it does not. The arrow is pointing to 0 and whatever value the INCIDENCE ALPHA/ 17 is... it stays at 0. The text line is working and shows the correct value.Any help is very much appreciated!Kind regards and many thanks in advance,Robert Versluys

try(A:INCIDENCE ALPHA, degrees) 17 /otherwise you get only a range between 0 and 1 before calculation and this will give you displayed values around 0!

  • Author

May be wrong code?SMILEY(A:INCIDENCE ALPHA,degrees) 17 /) Should be: (A:INCIDENCE ALPHA,degrees) 17 / Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • 4 years later...
  • Moderator

NOTA BENE: I simply reposted this to recover the "lost" XML script for posterity. Bill Leaming 04/02/2011Hello guys,I'm afraid i got a bit lost on the citation AOA gauge. This particular gauge is a 'clock style' gauge. The scale goes from 0 (which is an angle of attack of 0) to 1, which is an angle of attack of 17 degrees (at which point the aircraft will stall). The calculation for this is very simple: AOA/ 17 is what the meter should point to. Sounds easy, should be easy, but i cannot get this to work . :-hmmm So this is the current code of the gauge:

<Gauge Name="aoa_indicator" Version="1.0"> <Image Name="aoa_background.bmp" Bright="No" Imagesize="0,0,75,75" /><Element> <Position X="37" Y="37" /> 		<Image Name="aoa_arrow.bmp" PointsTo="East" ImageSizes="0,0,34,19"> 			<Axis X="9" Y="9" /> 		</Image>		<Rotate> 		<Value Minimum="0" Maximum="1">((A:INCIDENCE ALPHA, degrees) 17 /)</Value> 			<Nonlinearity> 				<Item Value="0" X="18" Y="56" />  				<Item Value="0.6" X="64" Y="37" /> 				<Item Value="1" X="37" Y="10" /> 			</Nonlinearity> 		<Delay DegreesPerSecond="12" /> 		</Rotate> </Element><Element> <Position X="0" Y="0" /> <Text X="45" Y="11" Bright="Yes" FontHeight="0" Length="5" Font="Arial Black" Color="#FFFFFF" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No"> <String>%((A:INCIDENCE ALPHA, degrees) 17 /)%!4.2f!</String> </Text> </Element></Gauge>

Note that the 2nd element is just there for testing purposes, it shows the AOA/ 17 in exact numbers, so i can check if the arrow points to the right value.As indicated above though, it does not. The arrow is pointing to 0 and whatever value the INCIDENCE ALPHA/ 17 is... it stays at 0. The text line is working and shows the correct value.Any help is very much appreciated!Kind regards and many thanks in advance,Robert Versluys

May be wrong code?
<Value Minimum="0" Maximum="1">   (A:INCIDENCE ALPHA,degrees) 17 /) </Value> Should be:<Value Minimum="0" Maximum="1"> (A:INCIDENCE ALPHA,degrees) 17 / </Value> 

Jan"Beatus ille qui procul negotiis..."

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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.