Sign in to follow this  
tiberiu11

VSI Needle animation question

Recommended Posts

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

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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"

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this