March 10, 200620 yr 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
March 10, 200620 yr Hi,What must happen in the macro?Jan"Beatus ille qui procul negotiis..." Jan "Beatus ille qui procul negotiis..."
March 10, 200620 yr 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
March 10, 200620 yr 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
March 10, 200620 yr 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..."
March 11, 200620 yr 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