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 Gauge question...

Featured Replies

Hi,Can someone explain how I can make an XML toggle-gauge (like the simicons) which will open a window-A and closes at the same time window-B.I would like to be able to swap between captain and 1stOfficer panel.If the 1stOfficer panel is opened, the captains panel should close and vise versa.

Location: Vleuten, The Netherlands, 17.3dme SPL 108.40 | Simulator: FS2024
System: AMD 7800X3D - Gigabyte X670 - RTX 4090 - 64GB DDR5 - 2 x 2TB SSD - 32" 1440p Display - Windows 11 Pro

  • Moderator

>Hi,>>Can someone explain how I can make an XML toggle-gauge (like>the simicons) which will open a window-A and closes at the>same time window-B.>I would like to be able to swap between captain and 1stOfficer>panel.>If the 1stOfficer panel is opened, the captains panel should>close and vise versa.That's probably the simplest gauge one could make... :)- - Toggle Co-Pilot's Window50 (>K:PANEL_ID_TOGGLE) 0 (>K:PANEL_ID_TOGGLE)The action is in the line. What that is doing is toggling ON the [WindowXX] section with ident=50 and toggling OFF the [WindowXX] section with ident=0Simply substitute whatever ident= number is used with your "co-pilot's window."

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Hi >> That's probably the simplest gauge one could make... :) <

Location: Vleuten, The Netherlands, 17.3dme SPL 108.40 | Simulator: FS2024
System: AMD 7800X3D - Gigabyte X670 - RTX 4090 - 64GB DDR5 - 2 x 2TB SSD - 32" 1440p Display - Windows 11 Pro

Uhhhhrrrrr...I must be doing something wrong because it doesn't work for me...Captains ident = 10000 (is already visible on startup)Co_Pilot ident = 10010 10010 (>K:PANEL_ID_TOGGLE) 10000 (>K:PANEL_ID_TOGGLE) When I press the icon, the Co-Pilot panel is opened, but the Captain panel remains open.

Location: Vleuten, The Netherlands, 17.3dme SPL 108.40 | Simulator: FS2024
System: AMD 7800X3D - Gigabyte X670 - RTX 4090 - 64GB DDR5 - 2 x 2TB SSD - 32" 1440p Display - Windows 11 Pro

  • Moderator

>Uhhhhrrrrr...>>I must be doing something wrong because it doesn't work for>me...>Captains ident = 10000 (is already visible on startup)>Co_Pilot ident = 10010 >>10010 (>K:PANEL_ID_TOGGLE) 10000>(>K:PANEL_ID_TOGGLE) >>When I press the icon, the Co-Pilot panel is opened, but the>Captain panel remains open.I suspect it may because of the "non-standard" ident you are using for [Window00]. Try using either ident=MAIN_PANEL or ident=0 as those are the expected default entries for that particular [WindowXX] entry.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Hi Bill,>> Try using ident=MAIN_PANEL <

Location: Vleuten, The Netherlands, 17.3dme SPL 108.40 | Simulator: FS2024
System: AMD 7800X3D - Gigabyte X670 - RTX 4090 - 64GB DDR5 - 2 x 2TB SSD - 32" 1440p Display - Windows 11 Pro

Instead of PANEL_ID_TOGGLE it is sometimes suitable to use PANEL_ID_OPEN and PANEL_ID_CLOSE. It gives a better control if e.g. both windows are open. You need of course different gauges for main and copilot panel.Arne Bartels

Try this; it opens Panel 0 while closing Panel 80, or vice versa!Panel icon(L:status,bool) if{ 0 (>K:PANEL_ID_OPEN) 80 (>K:PANEL_ID_CLOSE) } els{ 80 (>K:PANEL_ID_OPEN) 0 (>K:PANEL_ID_CLOSE) } (L:status,bool) ! (>L:status,bool) Regards,Harry

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.