Faster group display?
Hello everyone,
I saw in documentation and in the forum that Group Display with 10 faceplates need less than 5 secs for opening... I find it longer with less faceplates in our system (800xA + DCI).
I tried to make graphic display and wrapper with several faceplates but it took the same time.
Is there another option to use group display or to show several faceplates quicker?
Thanks in advance
Regards
Voted best answer
It is the wrapper aspects that are slow.
The "fastest" graphics are always ones which show only the data you need. You can make some very large performance improveents by building graphic displays and graphic elements that minimize subscriptions and show ONLY the data you need.
For example, the standard PC Device Lib graphic elements for a valve use 19 individual subscriptions, while an analogue element uses over 30. Some faceplate elements are just as bad. You can substantially improve your graphic callup times by building your own graphic elements and by making your own displays to show only the data you need. As an example, on one project we were able to reduce the number of graphic subscriptions on a typical graphic from around 5000 to less than 1000.
Right click on the graphic and use the diagnostics tools to check the number of subscriptions. You want to aim for less than 2000. You should avoid using late binding As much as possible.
In your case, taking the time to build group display elements by hand rather than using the pre-made group templates is likely to give you a substantial performance increase. Of course, there is a penalty. Making displays this way is time consuming, and can quickly chew up your engineering hours so you need to ensure that it is worth spending the time required to do this.
Answers
I agree with Rob that that some faceplates are bad designed. Sometimes you may even find pieces that are still in VB Code, depending on the connectivity you use. At the other hand there is a lot of functionality in the faceplates. You may not make use of all of this.
In one project we had the need to operate a lot of mills very fast. Instead of opening 25 faceplates at the same time I made an "operate" version of the graphic display with the desired buttons for all the mills in it. (e.g. setpoint, on/off). For the operators it is now very easy and fast to control all of these objects. The only disadvantage is that you don't have the faceplate lock so it is possible that 2 operators operate the same object. In our project this was not really a problem because always only one operator is in charge for one area.
/Erik
Thank you for the very fast answers!
So I will build group in several graphic displays with only needing elements.
Besides, in our graphic elements, we are using late binding property to reach different item in the control structure, I unsterdand why some graphics are quite long to load...
Regards
Add new comment