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 question - math?

Featured Replies

Have a returned vaule 0 to about 1300 (SDK says 0 to 256) Trying to light up some colored bars based on the value returned. Have tried the following code:element visable (A:Circuit.....etc) Position x="96" y="78" Select Minimun="0" Maximum="4" Value (A:ADF1 SIGNAL, enum) Case ="0" %-- all bars grayed out Image=sig0.bmp Image Sizes=",,3,7" Bright="Yes" Case ="1" %-- first bar on(red) Image=sig1.bmp Image Sizes=",,3,7" Bright="Yes" Case ="2" %-- 1st and 2nd bar on (red and yellow) Image=sig2.bmp Image Sizes=",,3,7" Bright="Yes" Case ="3" %-- 1st, 2nd and 3d bar on(red and 2 yellows) Image=sig3.bmp Image Sizes=",,3,7" Bright="Yes" Case ="4" %-- all bars on(red, yellow, yellow, green) Image=sig4.bmp Image Sizes=",,3,7" Bright="Yes"Also tried: Value ((A:ADF1 SIGNAL, enum)180/) 180 being about 1/5th the signal valueonly could get 1st bar on or all off, Thanks for your help

Hi,You can use:%((A:ADF1 SIGNAL,number))%!d!to see the value of the signal strenght (256 --> more then 50000)Then you can use: (A:ADF1 SIGNAL,number) 0 > (A:ADF1 SIGNAL,number) 500 < &&etc. etc.to show a different color of an element.Hope it helps,Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Thanks so much for your help, I was able to get it working correctly..

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.