11-28-2022 05:36 PM
Hello colleagues,
Since a few months ago we have in some views the following error:
Using the HMI and moving between some views, suddenly an image dissapears and a "X" appears instead of the image.
It happens with an image array when we add more than 1 image per Mod_PictureBox.
Sometimes happens and sometimes not, usually when we change the view quickly.
This is the LogFile:
Any idea about what is happening?
We are using CPS 5.4.2 and CpHMI_V5.4.2.nxrd.
Many thanks.
Solved! Go to Solution.
11-30-2022 06:24 AM
Hi,
Is on the view also a TransparentArea where the Mod_PictureBox is placed on?
With HMI V5.5 we have fixed a bug that had a very similar behaviour because of a memory leak.
The problem in that case occures also if Mod_PictureBoxes with image arrays were used. If you switched between different views the memory usage in the taskmanager increased continuously. At some point you got the same behavior as in this case. You got the same error and the PictureBox showed a red cross.
Is it possible for you to update to V5.5? A workaround could be, that you set those views where you use a Mod_PictureBox to KeepAlive. In that case there should be no Memory leak.
11-30-2022 09:39 AM
I have a few more questions:
11-30-2022 11:05 AM
Hello Philipp,
Thanks for your answer. We can update it an check if it is solved.
As soon we do it I will answer here.
Many thanks!
11-30-2022 11:10 AM
Hello,
No, when It happens a l have some exception errors when changing between views and others images (not all but some of them) have the same "X".
I can navigate, use the HMI and close it, but the "X" disappears only closing and restarting again the HMI.
Many thanks.