Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

element meter180 svg loading error

GiorgioT
2019-04-29
2019-09-26
  • GiorgioT - 2019-04-29

    Hi, i'm trying to show a codesys page with webvisu on a browser page, i have a visualization problem with the measurement controls, the meter180 and meter 360. I tryed with different browser but i had the same problem.
    In the codesys wiew i have no errors, but in the browser one i have.
    I attached 3 images wich show the results.

    I'm using codesys v3.5 sp14 patch 2 + (64bit) and a raspberry v3.5.14.20

    How can i solve the problem?

    Thanks

    IMG: CatturaCodesys.PNG

    IMG: CatturaBrowserError.PNG

    IMG: CatturaBrowser.PNG

     
  • eschwellinger

    eschwellinger - 2019-04-29

    Hi,
    could you check the plc logger?

    BR
    Edwin

     
  • GiorgioT - 2019-04-29

    hi Edwin,

    here is the log xml.

    thanks

    IMG: CatturaLOG.PNG

    logplc.xml [53.45 KiB]

     
  • eschwellinger

    eschwellinger - 2019-04-29

    Hi,
    could you browse by CODESYS file browser if these svg's and other grafic images are downloaded to the pi?
    Seems not.
    Additional check this setting 'preview Support client animations and overlay...'
    Either

    IMG: setting.png

    IMG: TransferVisuFiles.png

     
  • GiorgioT - 2019-04-30

    Hi Edwin, first of all thanks for the help.
    I downloaded again the raspberry runtime but the problem was still there.
    A couple hours after the issue seemed solved by itself, i don't know how. However i did what you told me to do. The svg files are now in the right place.

    Best regards

     
  • DRE - 2019-08-22

    Hi,

    it seems that this Problem is still existing.
    My case is nearly the same.

    When i use the webvisualisation the .svg are shown with an red X.
    These .svg are coming from the codesys symbols library.
    But also a imported .svg logo is not shown, in this case without the red X.

    The log shows the same problem.

    First it was working fine all .svg s have been shown. But then i had this problem.
    I have this since more than 1 month with many transfers. In my case no self solution.
    The .svg s are not in the PlcLogic/visu directory. And a transfer don't copy them.
    The logo .svg is in this directory but is also not shown.

    I'm using Codesys 3.5.14 Patch 1 on an raspberry pi 3. The used Browser is Chrome, Firefox.
    Whit internet explorer i have other problems

    Do somebody know what to do?
    I tried already the given solutions in this thread....

    IMG: log.PNG

     
  • eschwellinger

    eschwellinger - 2019-08-23

    Hi,
    I had this once, not sure if it helps:
    Delete the Visumanager and then add it again... add Webvisu and Startvisu in it.
    Maybe this will solve it.
    BR
    Edwin

     
  • DRE - 2019-08-23

    Hi Edwin,

    thanks. I tried it but the problem stays the same.

    Some Other Ideas?

     
  • eschwellinger

    eschwellinger - 2019-08-23

    Hi,
    Does an empty new project work without problems?
    Sure an update to newest version.. is an option too.
    BR Edwin

     
  • DRE - 2019-09-26

    Problem solved,

    the symbol .svg haven't been transfered to the PLC because they have only been integrated as an instance by their name.
    I now created an Symbol page whit all used symbols, now they will be transfered to the PLC.

    The Logo .svg was not a real .svg, only an .svg implementing a .bmp and was therefor not scalled correctly.

    Thanks for your help.

     

Log in to post a comment.