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.

Making a large increase into smaller increments

Featured Replies

OkI need to add 2 A variables together (Ambient Wind and Ambient Temp) and input them to an L:Var. and then added to a gauge readout. This addition is only valid when certain parameters are present. Easy so far.Problem is, when they (the L:Var) are added to the gauge, there is an instantaneous jump in the needle as they get added to the readout, and an instantaneous drop when they are subtracted. So, my poor brain not being as tuned as I would like, needs to figure out a way of adding them slowly, to make the needle move up or down gradually, as opposed to jumping to reflect the addition of the new variable.I thought of a counter system (based on the update frequency) of something like this:(L:windtemp,enum) 1 + (>L:windtemp,enum)but how do I limit the count to be maxxed at whatever the addition of the wind and temp actually are, since wind and temp are always changing? i.e. If temp is 15 C and wind is 12 kts, added gives me 27, so I would need to stop the counter at 27: or wind 4 kts temp 5 C so I would need to stop it at 9.... well you get the picture........Any hints??Steve

You don't mean a kind of damping? If yes try the code I posted some days ago. An exponential damping as described by me, dampens out fast changes, but slow changes are still let through.Arne Bartels

Ok Arne. I'll give that a shot.ThanksSteve

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.