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.

VSI Needle animation question

Featured Replies

  • Commercial Member

Hello guys, I need your help again. I am trying to achieve a VSI needle animation in my Primus 1000 CDS PFD. The problem is that the VSI scale is not round like a conventional VSI, but it is straight.(see attached picture) I have tried the GDI+ way of rotating a needle with its centerpoint shifted, but it would mean an unnecessary rotation on the x-axis, when this animation is more of a y-axis translation. I am stumped on how to get this needle to animate properly, as I am not so frantic on the y-axis animation. Thank you very much for your help in advance.Sincerely,Tiberiu Brasovhttp://forums.avsim.net/user_files/118839.jpg

Hi,Tested this one:(A:Vertical speed,ft/min) -6000 max 6000 min(A:Vertical speed,ft/min) abs -6000 max 6000 minHope it helps,Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Moderator

As Tiberiu asked about an C/GDI+ method, this is not a viable solution to his question. ;)That said though, your post has gone into my "tips and tricks archive" for any possible XML use in the future. Thanks!

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Regarding GDI+, there is no rotation needed at all, in case I see the problem correctly. Actually just the left point of the needle would have to be moved up/downwards.But probably you could post a picture which shows the needle in a non-zero position.

  • Author
  • Commercial Member

Jan, Thank you very much for posting that XML example, unfortunately I am not that familiar with XML, but from what I see, it uses a nonlinearity table with values set for 6000 and -6000. Unfortunately I use C++ and GDI+, so no luck here. I tried implementing your example in the C++ code, but it does not work this way for this type of a VSI. Again, thank you for your help.Yours Truly,Tiberiu Brasov

  • Author
  • Commercial Member

Hello Etienne, Long time no talk. Thank you for your reply. Here is a picture of the VSI shifted upwards. The needle will move higher upward(about 50 pixels) until 6000FT. Thank you for your help.http://forums.avsim.net/user_files/118917.jpgYours Truly,Tiberiu Brasov

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.