AdvancedHMI Software

General Category => Support Questions => Topic started by: Joe Matkowski on January 21, 2016, 11:18:33 AM

Title: need help with new graphic
Post by: Joe Matkowski on January 21, 2016, 11:18:33 AM
I building a new system for a customer that wants a graphic indicator to show a rotational position, something like the attachment. Kind of banging my head against the wall on this one as I am not good at building controls. Any help or advise.

Jody
Title: Re: need help with new graphic
Post by: Archie on January 21, 2016, 11:35:30 AM
Building a control from scratch can be tricky. This thread gives an idea and source code:

http://advancedhmi.com/forum/index.php?topic=185.0

Another option is to use the AnimatedPictureBox. It can also get a little complicated because of all the settings to allow the flexibility. Here is an example of using it:

http://advancedhmi.com/forum/index.php?topic=585.0
Title: Re: need help with new graphic
Post by: Joe Matkowski on January 21, 2016, 11:48:46 AM
Thanks Archie I will give them a try.

Jody
Title: Re: need help with new graphic
Post by: Godra on January 26, 2016, 10:55:26 AM
You could also try this control:

http://advancedhmi.com/forum/index.php?topic=1143.0
Title: Re: need help with new graphic
Post by: Joe Matkowski on January 26, 2016, 10:58:36 AM
Thanks I will have a look. I have been messing with a radial progress bar that i found some code and nearly have it completely functional. just need to add some more properties to change the look.

jody
Title: Re: need help with new graphic
Post by: Godra on January 26, 2016, 11:02:38 AM
Once you have it working then consider posting it here.
Title: Re: need help with new graphic
Post by: Joe Matkowski on January 26, 2016, 11:05:30 AM
I will, I have the functionality with the drivers just want to finish the properties. This is my first control I have built.
Title: Re: need help with new graphic
Post by: Godra on January 30, 2016, 11:20:07 AM
One other control that could possibly be used as rotational indicator is OvalShape found here:

http://advancedhmi.com/forum/index.php?topic=673.0

Use its Arc and/or Pie features.