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.

Need help create momentary switch code..xml

Featured Replies

Hello,I'm trying to program a fuel test button using xml. The switch in the real aircraft (DC-9) is momentary ...test is active only while the mouse button is held down.The test works such that when the test button is held the fuel gauge needles will slowly move torwards empty. When the test button is released the gauge needles will move back to tank quantity values.I'm thinking of coding this like....Create a global variable with the test button gauge = L:FUEL_QTY_TEST = 1 or 0The fuel gauges will contain a case statement for the L:FUEL_QTY_TEST variable case 0 (test active) needles get value of tank empty case 1 (no test) needles get value from FS FUEL...QUANTITY variablesIn concept it seem that it should work... I'm just running into problems actually coding it.Can someone assist me?Thanks,John

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.