Author Topic: need help with new graphic  (Read 1645 times)

Joe Matkowski

  • Newbie
  • *
  • Posts: 47
    • View Profile
need help with new graphic
« 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

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: need help with new graphic
« Reply #1 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

Joe Matkowski

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: need help with new graphic
« Reply #2 on: January 21, 2016, 11:48:46 AM »
Thanks Archie I will give them a try.

Jody

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: need help with new graphic
« Reply #3 on: January 26, 2016, 10:55:26 AM »

Joe Matkowski

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: need help with new graphic
« Reply #4 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

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: need help with new graphic
« Reply #5 on: January 26, 2016, 11:02:38 AM »
Once you have it working then consider posting it here.

Joe Matkowski

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: need help with new graphic
« Reply #6 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.

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: need help with new graphic
« Reply #7 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.
« Last Edit: January 30, 2016, 11:22:20 AM by Godra »