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.

macro fun

Featured Replies

Hi all (@c:FlightPlanCruisingAltitude,feet) 50 > if{ (@c:FlightPlanCruisingAltitude,feet) 100 / } (L:TGTaltitude_CRZ,feet) 50 > if{ (L:TGTaltitude_CRZ,feet) } Works OK and gives both numbers in test gauge. Used with:- @EICASCrzAltDisplay 100 * (A:PLANE ALTITUDE,feet) - abs s0 150 < l0 -150 > && && (>L:CRZ,bool) only when entering the (L:TGTaltitude_CRZ,feet) number will it work. Can anyone help.

Paul EGLD

Hi,What must happen in the macro?Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Hi,Value that macro puts on the last stack position is:1) (@c:FlightPlanCruisingAltitude,feet) 100 /When (@c:FlightPlanCruisingAltitude,feet) > 50 and (L:TGTaltitude_CRZ,feet) < 50 2) (L:TGTaltitude_CRZ,feet) When (@c:FlightPlanCruisingAltitude,feet) > 50 and (L:TGTaltitude_CRZ,feet) > 50 3) (L:TGTaltitude_CRZ,feet) When (@c:FlightPlanCruisingAltitude,feet) < 50 and (L:TGTaltitude_CRZ,feet) > 50 4) The last stack's value before the macro is called, or 0 if the stack is emptyWhen (@c:FlightPlanCruisingAltitude,feet) < 50 and (L:TGTaltitude_CRZ,feet) < 50 Hope this to be useful to help you find what you need.Tom

  • Author

Hi Jan (@c:FlightPlanCruisingAltitude,feet) 50 > if{ (@c:FlightPlanCruisingAltitude,feet) 100 / } Takes the FS9 Flight plan cruise level and displays the numbers in the FMC page. (L:TGTaltitude_CRZ,feet) 50 > if{ (L:TGTaltitude_CRZ,feet) } If you want to change the cruise level display put your own 3 digit number in with this. The number from this macro is either the FS9 flightplan cruise level number (default) or the user changed number. I Tried to use the numbers from this macro in another gauge in the EICAS to set CRZ warning but it only works when I change the default number (250) to the same user number (250).

Paul EGLD

Ok,May be to tired..., but(@c:FlightPlanCruisingAltitude,feet) 50 > if{ (@c:FlightPlanCruisingAltitude,feet) } (L:TGTaltitude_CRZ,feet) 50 > if{ (L:TGTaltitude_CRZ,feet) }gives 2 numbers.Must there be a + or - somewhere or an if/els statement?Does this one need:@EICASCrzAltDisplay (A:PLANE ALTITUDE,feet) - abs s0 150 < l0 -150 > and and if{ "something" (>L:CRZ,bool) } ??Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Hi all Checked further found an L:var firing on load. Changed last part to:- @EICASCrzAltDisplay 100 * (A:PLANE ALTITUDE,feet) - abs s0 150 < l0 -150 > && && if{ 1 (>L:CRZ,bool) } els{ 0 (>L:CRZ,bool) } works OK Thanks to you both.

Paul EGLD

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.