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.

Pitch Indicator

Featured Replies

Hi All,I need help on a gauge that should only be visible between -30 degrees of pitch to +40 degrees of pitch.The idea is when the pitch exceeds +40 degrees or falls below -30 it will not show.Here is the code I have so far. (A:Attitude indicator pitch degrees, degrees) 30 <What happens now is when the pitch exceeds -30 degrees (going down) the gauge goes off; but nothing when the pitch is going up. When I change it to:(A:Attitude indicator pitch degrees, degrees) 30 >Now the gauge is turned off until I have exceeded -30 degrees (going down).Any help will be greatly appreciated.

  • Author

Try(A:Attitude indicator pitch degrees, degrees)30 < (A:Attitude indicator pitch degrees, degrees)-40 > &Or(A:Attitude indicator pitch degrees, degrees) s1 30 < l1 -40 > &Regards,Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Roman,Both codes worked perfect. Would you mind explaining the following code. I know it has something to do with stacks, but I'm not familiar with it.(A:Attitude indicator pitch degrees, degrees)s1 30 < l1 -40 > & Many thanks,Benny

  • Author

Benny,The s#, sp# stores are volatile temporary stores of a value. Volatile as in they go back to zero after each gauge read.(G:VARs), (L:VARs) are not volatile. There are 40 stores, 0 - 39.sp ( store "pop" ) stores the value then removes the value of the store from the stack.l# ( load ) reads the store.They are very useful to keep from repeating the same variable call.Regards,Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

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.