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.

Ampere/Voltage Switch

Featured Replies

I have made a Gauge showing Amperes (Battery load) and voltage (Main Bus), using two needles and with one set of XML for each function.Originally it is a combined gauge with one needle and a switch for switching between Volts and Amperes reading.Now I need some assistance in how to code the switch-function to shift in between the two needles in the same gauge.Or is there perhaps a better way to code such a gauge and switch?Lars F

Hi,Make a switch say amp volt selector:(L:A V SEL,bool) ! (>L:A V SEL,bool)Now steer the needle with:(L:A V SEL,bool) if{ (Battery Load formula) } els{ (Main Bus Voltage formula) } Mind the scales.Hope it helps,Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Hi Jan,yes it made the trick! Tnx a lot. And it also gave me another step in my XML learning learning curve. (If there now can be a step in a curve?)CheersLars F

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.