How would I draw a pie chart control in FactoryTalk?

interrobang

Member
Join Date
Nov 2017
Location
Bedford, OH
Posts
1
Greetings!

I am a C#/C++ programmer who has never used FactoryTalk. My manager has come up with an idea for a display element that is basically a stack of three pie charts, with the size of each segment being controlled dynamically. According to him, FactoryTalk does not do circles very well, and it would be easier to create an ActiveX control in C++ (or C#, if it can create ActiveX controls). I don't believe him.

A quick glance through the available elements in FactoryTalk did not show me any pre-built pie chart controls. How would I go about creating a pie chart control in FactoryTalk, or should I just go ahead and develop the ActiveX control?

Our customer has FactoryTalk version 8.10.00 (CPR 9 SR 7.4).

Thank you very much.
 
Depending on the amount of resolution you need, you could try this:

Say you can live with a resolution of 5%. You could make 20 little slices and arrange them on the display so that they form a circle.

Then, use animation/visibility to turn them on based on some value in your logic.

Clunkly but it might work. Especially because nobody looks at a pie chart to get fine detail. You could probably live with only 10 segments.
 
You might try looking at fill animation also. I've never thought to use it in that manner, so it might not actually be possible. But other animations allow you to do things in either a linear or circular fashion, so animation is where I'd start looking, particularly in the "fill" section. Maybe you could come up with a clever combination of animations that would do the trick.
 
No ASF, there is no rotational based fill. This is FTView after all, the worst platform in existence. You can probably go ahead though and use the Microsoft Chart ActiveX control. It might work, or might crash View, and use VBA to populate and control it.

MSChart is the control, and the control itself is functional and stable as delivered from Microsoft; I have no idea if it will function correctly under FTrash View.
 

Similar Topics

Hello, I want to plot a line on X,Y axis with defined start and end points on Quick Panel+. I use PAC Machine Edition 9.7, and it supports...
Replies
14
Views
1,721
Hello, I want to plot a line on X,Y axis with defined start and end points on Quick Panel+. I use PAC Machine Edition 9.7, and it supports...
Replies
0
Views
342
I want to draw a shape on a screen page in TIA/WinCC. It's roughly the shape of a canal boat hull -see picture. I couldn't find any "free-form"...
Replies
9
Views
1,525
I was wondering if anyone had any insight on to how i could monitor and possibly graph Amp draw on our Powerflex 525 Drives. These drives are...
Replies
5
Views
1,739
Hello, anyone knows where to find Rockwell/Allen Bradley shapes or stencils for visio (microsoft) or draw (libreoffice)? I am interested in...
Replies
6
Views
7,380
Back
Top Bottom