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.

Three positions switch

Featured Replies

hi to all,I need help to compile an .XML three positions switch (see the attached file).The switch is intended to distribute the Attitude signals toggling the Stand by_vacuum_pump in the upper position to:ADI,HSI compass,RMIVOR compassin the lower position to:RMIADF compass.The Mid position is for normal operations.By my .XML file until now the signals distribution works properly but the switch is moving only from Mid to upper position:the first time for:ADI,HSI and RMIVOR the second Time for:RMIADF. Another question is:Does exist a book or any other publication explaining clearly and easy the .XML gauge compiling in the FS9?Because the MS SDKs are very short and vague.Thanks for any helpG.Franco Corrias

  • Author

Hi,1. Use (G:Var1), not bool.2. In the click event use 0 (>G:Var1), 1 (>G:Var1) and 2 (>G:Var1).3. Since you have 3 positions, you need 3 clickspots for the events, unless you want the switch come automatically in the mid position.The next code is an example of the last possibility (after 1 second):(Not tested)(P:Absolute time,seconds) (G:Var2) > if{ (G:Var1) 1 == (G:Var1) 2 == | if{ 0 (>G:Var1) } } (G:Var1)1 (>G:Var1) (P:Absolute time,seconds) 1 + (>G:Var2)2 (>G:Var1) (P:Absolute time,seconds) 1 + (>G:Var2)Hope it helps,Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Thanks alot I'm going right away to try your solution.Any suggestion for a book to learn .XML gauges?G.Franco

  • Author

No, see subject nr.1, FAQ and solutions.Jan"Beatus Ille Procul Negotiis"

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.