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 strings ias/mach

Featured Replies

Hallo,I have problems to make the code for alternating mach and iasThe ias/mach switch is no problem.The combination of strings is.Here are they:IAS:%((A:AUTOPILOT AIRSPEED HOLD VAR,knots))%!3d!MACH ?????, does not work%((A:AUTOPILOT MACH HOLD VAR,mach))??????But how can i combine them in one window, selecting them with the IAS/MACH switch?PH-JVH

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Try to use a float format for the display of Mach numbers<String>%((A:AUTOPILOT MACH HOLD VAR,mach))%!3.2f!</String>or multiply before cutting away the digits with an integer format:<String>%((A:AUTOPILOT MACH HOLD VAR,mach) 1000 *)%.!03d!</String>For a IAS/MACH switch try to modify the boeing747-400Autopilot IAS-Mach Switch.xml and boeing747-400Autopilot IAS-Mach Window.xml examples. For a display of MACH if Mach hold mode is selected and IAS id selected otherwise combine the code to:<String>%((A:Autopilot mach hold, bool))%{if}%((A:AUTOPILOT MACH HOLD VAR,mach) 1000 *)%.!03d!%{else}%((A:AUTOPILOT AIRSPEED HOLD VAR,knots))%!3d!</String>Arne Bartels

  • Author

Arne, thankswith a little puzzling and your help the following code works ok for me (is just a part of the 767-300 autopilot):-----------------------%((A:Autopilot mach hold, bool))%{if}%((A:AUTOPILOT MACH HOLD VAR,mach) 1 *)%! .3f! M %{else}%((A:AUTOPILOT AIRSPEED HOLD VAR,knots))%!3d!IAS(>K:AP_PANEL_SPEED_HOLD) 1 (>K:TOGGLE_AFTERBURNER1)IAS Mach Switch(>K:AP_PANEL_MACH_HOLD) 1 (>K:TOGGLE_AFTERBURNER1)---------------------Till the nex problemJan

Jan

 

 

 

"Beatus ille qui procul negotiis..."

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.