Operator Screen changing every 2 sec - 800XA
Customer want one workstation to start changing the displays in 2 sec automatically
Voted best answer
PG2 is programmed in .NET i.e. "managed code", thus dependent on Garbage Collection.
Too frequent display exchanges may starve the operator workplace from GC, thus threaten to have it to run out of memory, or push GC into corner cases when performance takes a Big Dive because the process need to reclaim memory at an inconvenient point in time.
I doubt R&D will give your request for help any higher priority once they find out you are pushing a new display every other second.
To boost performance, destruction of the previous display is postponed by five seconds (to focus resources on the newborn). Constant changes faster than the destruction delay is yet another move on a dangerous path.
Sorry for being rude, but if your customer seek this "frame rate", sell him a Netflix subscription instead of System 800xA.
I've made this with late binding code which automatically finds the next display and if it's the last display from the array of this it goes back to first display.
if _Now#Second = 20 then True else if _Now#Second = 40 then True else if _Now#Second = 0 then True else False
A previous question describes how. Slide show of graphics in PG2 (Networking Remote access VNC (virtual network computing) Operations Graphics PG2 Graphics 800xA) (abb.com)
I have used it for fast switching of dynamic content according active Step of a Sequence.
Sadly it is not possible to insert another graphic elements inside each Tab of the TabItem in standard way as we use to draw process graphics . TabItem works like a single graphic element.
However it is possible to program a dynamic content in each Tab by means of graphical commands in a "structure text" way.
This way of graphical programming is a bit challenging but the final result and the TabItem performance is excellent.
Once the signal become 1 , used aspect invoker to change the display to another display -> again in navigated display another aspect invoker added -> same given to the required displays .