The Codesys Visualization is using the alternative browser WebView2 since the release of Codesys Visualization Add-on v4.3.0.0.

  • If the computer is online, Microsoft Edge Webview2 Runtime is automatically installed with the Codesys Setup.
  • If the computer is offline, the user has to manually install the software before executing the Codesys installation.

    You can download the standalone installer from the Microsoft side:
    https://developer.microsoft.com/en-us/microsoft-edge/webview2

Some known issues:

User can experience some problems when displaying the visualization in online mode. There, the following error message will showed up:

The installed WebView2 Runtime version is not compatible to the Visualization version. Please update your WebView2 installation to at least version 95

Solution:

Apparently, there are some installations where a fixed and pretty old version of the WebView2 runtime is installed, which triggers this problem.
To fix this, you can uninstall the currently installed WebView2 Runtime using the installed program dialog of your Windows computer:


All recent released versions of CODESYS Setups will already deliver this variant of the WebView2 runtime, so customers should not experience such problems.

If "Support client animations..." is activated, an error message can appear when calling up the images in "online" mode:

It is not jet possible to display visualization in online mode when client animation and overlay of native controls are active.

Solution:

The overlay visu is displayed online via an embedded browser in the programming system.

Since version 4.3.0.0 of the Visu, WebView2 is typically used here.
Previously (and currently still as a fallback) also CEF is used.


After installing the Microsoft Edge Webview2 Runtime manually, the CODESYS setup doesn’t recognize this installation.

Solution:

Install Microsoft Edge Webview2 Runtime with Windows Admin rights.



  • No labels