I have written an application which includes visualization elements image which changes in runtime as required. Been using this application for around 18 months now without issue.
So I upgraded Codesys from version V220.127.116.11 to V18.104.22.168 and now the visualization images don't update in runtime unless the webpage is refreshed.
This issue exists for browsers Chrome, Firefox and Edge.
I'm using a RP with version 22.214.171.124 and a MC runtime license.
Things I've tried already:
Changing settings within VisulizationManager
Element image, adding a number or variable to property "Dynamic Bitmap - Bitmap Version", project compiles but doesn't download due to error "C0100: Library CmpTargetVisu has not been added to the Library Manager, or no valid license could be found"
Any suggestions on how to resolve this issue?
could you please attach your project?
Since your visualization package should still be 126.96.36.199, you should not have any changes to the visualization and it seems to not be directly related to changes in this area.
Attached is a test project I made to demonstrate the issue. This is a very simple application which allows the user to move an image to the left or right via the visualization buttons. I made this from project scratch and left everything as default where possible.
When executed and the image is moved at least one time, the image should only exist in either the left or right position, not both.
For me, when I move the image via the web browser, the existing image remains and I see 2 images. This is only fixed when I refresh the web page.
This did not happen for Codesys V188.8.131.52 and earlier versions.
seems to be a bug in the new overlay visualization.
You can disable this in the visualization manager and should be good to go.
Apart from this, why do you not simply hide the image instead of switching the image no an non existing one?
Raised however an issue for this!
I am happy to tell you that this issue is fixed with Visu Package 184.108.40.206 for the webvisualization.
Thanks for the feedback and glad to hear it will be fixed within the next revision.
In the short term as you suggested, I unchecked option "Support client animations and overlay of native elements" within the Visualization Manager which fixed the issue.
Log in to post a comment.