The probelm arises for the B&R T30 panel after updating Codesys from 3.5.17 to 3.5.19 patch 5. We have to use 3.5.19 for other reasons so we cannot downgrade the version. The scaling problem only exists for the B&R 6PPT30.0702.20F025 panel, the B&R T50 panel and a esa lumia panel work. When we choose a fixed resolution it looks also good, however we also want to support the esa lumia panel with a different resolution.
The images show the anisotropic and isotropic option. In the anisotropic option it scales the hight correctly but not the width and in the isotropic option is scales both hight and width false, it also does not start in the top left corner.
Does someone have any suggestion why it does not work anymore with the new codesys version and are there workarounds?
I added all versions with visualization packages as an image, visuElems is 4.4.0.0.
I have found a work around. I have written a python scripts that runs on user login (entry in .bashrc) which overwrites the webvisu.htm and webvisu.cfg.json file with the configuration for the B&R T30 panel (resolution and disable scaling).
First I tried to add this setting to the the CODESYSControl.cfg, but that does not work following the big CODESYS Control V3 Manual. [CmpTargetVisu]
Application.WindowPositionX=0
Application.WindowPositionY=0
Application.WindowSizeWidth=800
Application.WindowSizeHeight=480
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The probelm arises for the B&R T30 panel after updating Codesys from 3.5.17 to 3.5.19 patch 5. We have to use 3.5.19 for other reasons so we cannot downgrade the version. The scaling problem only exists for the B&R 6PPT30.0702.20F025 panel, the B&R T50 panel and a esa lumia panel work. When we choose a fixed resolution it looks also good, however we also want to support the esa lumia panel with a different resolution.
The images show the anisotropic and isotropic option. In the anisotropic option it scales the hight correctly but not the width and in the isotropic option is scales both hight and width false, it also does not start in the top left corner.
Does someone have any suggestion why it does not work anymore with the new codesys version and are there workarounds?
I added all versions with visualization packages as an image, visuElems is 4.4.0.0.
Last edit: kleeswi 2024-07-29
I have found a work around. I have written a python scripts that runs on user login (entry in .bashrc) which overwrites the webvisu.htm and webvisu.cfg.json file with the configuration for the B&R T30 panel (resolution and disable scaling).
First I tried to add this setting to the the CODESYSControl.cfg, but that does not work following the big CODESYS Control V3 Manual.
[CmpTargetVisu]
Application.WindowPositionX=0
Application.WindowPositionY=0
Application.WindowSizeWidth=800
Application.WindowSizeHeight=480