I have recently firmware upgraded a TopCon Opus A8, moving from Codesys 3.5.11 (visu 3.5.9) to 3.5.13.10 (visu 3.5.12).
After this, the visualization would crash, but reload okay when touched.
Message during crash:
An exception happened while executing the visualization!
...
I learned that it is caused by setting a bardisplayimage to invisible, when it is in a subframe (Not a certainty that it will happen, but it is certainly the trigger, when it crashes).
I then created a very simple project, targetting the Codesys Control Win3 softplc. It will not crash, but it does behave oddly, so perhaps there is a connection to the Opus crashing on this behaviour.
What do I mean by 'odd behaviour':
When Invisible is set, when then element is shown within a frame of the main visualization:
The bardisplayimage still shows the background image, and the bargraph itself.
It no longer updates the bargraph, if the value changes.
The scale is the only thing that becomes invisible.
(Partial screenshot is attached)
If I then copy the element to the main vis, so both can be seen, and both act on the same invisibility boolean, the one on the main viz disappers, as you would expect.
Could someone confirm this behaviour? [Minimal project is attached]
Should this be reported as a bug to Codesys?
I have recently firmware upgraded a TopCon Opus A8, moving from Codesys 3.5.11 (visu 3.5.9) to 3.5.13.10 (visu 3.5.12).
After this, the visualization would crash, but reload okay when touched.
Message during crash:
An exception happened while executing the visualization!
...
I learned that it is caused by setting a bardisplayimage to invisible, when it is in a subframe (Not a certainty that it will happen, but it is certainly the trigger, when it crashes).
I then created a very simple project, targetting the Codesys Control Win3 softplc. It will not crash, but it does behave oddly, so perhaps there is a connection to the Opus crashing on this behaviour.
What do I mean by 'odd behaviour':
When Invisible is set, when then element is shown within a frame of the main visualization:
The bardisplayimage still shows the background image, and the bargraph itself.
It no longer updates the bargraph, if the value changes.
The scale is the only thing that becomes invisible.
(Partial screenshot is attached)
If I then copy the element to the main vis, so both can be seen, and both act on the same invisibility boolean, the one on the main viz disappers, as you would expect.
Could someone confirm this behaviour? [Minimal project is attached]
Should this be reported as a bug to Codesys?
barGraphTest_3 5 13 10.project [181.97 KiB]