I have troubles with the ignition client of factory. Only one screen stay freeze for a time but it doesn't happen with other in the same project.
We have monitorized everything, server of ignition, kepserver (OPC), DB, PLC's, but nothing seems to be wrong.
We have 3 lines of production with the same characteristics, exactly equals.
Could you tell us any idea what more to do, possibly?
The only rare thing is the log in the gateway, in the log appears "starting up client" all the time:
Any idea for this?
Thank you for your help
It is extremely common for UI freezes in Vision when a programmer tries to do long calculations in client/component event scripts, or perform slow network activity in such event scripts.
Vision is built on top of Java Swing, which has a single-threaded UI design. Time-consuming operations (network, database, heavy sequences, anything with .sleep()
) need to be done asynchronously.
Hi Phil, thank you for your answer.
But we have a set of screens that they are the same, in programming and other stuffs, but only one freezes at times.
And this happens in different devices (PC, laptops). In fact, if we have 2 machines with the same screen opened, it freezes only on one but not on the other.
We thought it was the machine, and we used a new machine completely, but after of a time it happens the same, screen frozen.
Thanks again
Study the event scripts in that screen.
Mmm Ok, we will study the scripts, but it's rare the behavior only for one screen and not for the others.
thanks Phil