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

Visualization version conflict

appling
2020-03-26
2020-03-31
  • appling - 2020-03-26

    Hi everyone!
    I have a host application that is using the visualization profile “CODESYS V3.5 SP10 PATCH 3”.
    I am creating a visualization library and want to use it in said application.

    In the library, I have also set the visu profile to “CODESYS V3.5 SP10 PATCH 3”. I have checked all libraries like “VisuElems, 3.5.10.30 (System)” to be of the same version in the library and in the application.
    Unfortunately, when I edit visu elements in the library, I get different editing options in the library and in the host application. For example, when I create a rectangle:

    On a visu screen in the library I can choose the text font and size (this seems to be a newer functionality).
    On a visu screen in the host application I can only choose from a few pre-defined text sizes (like BIG or BIG TITLE).

    The weird thing is, that I am using the same Codesys Profile for both. As I said, I have made sure to set all libraries to the same version. Also the compiler version is identical between the application and the library.

    Hope someone knows, how I can set the library editing options to the same as the application’s. Now I cannot change the text size of visu elements, as the font size I choose in the library seems not to translate to the application.

    Best regards

     
  • m.prestel - 2020-03-31

    Hello @appling,

    the difference between the options in a library and a application is "caused" by the visualization style.

    The predefined text sizes are defined in the style you are using.
    Since the visu in the library does not have a visu manager (and therefore a default style) you have to configure the fallback style in the option.
    Check out this help article for more information
    https://help.codesys.com/webapp/visudlgoptionsstyles;product=corevisualization (Section: "Fallback if no visualization style could be derived").
    You will get the same predefined font sizes you have available in the application.
    Never the less the dialog you are looking is still available in the application.

    Click on font with a double click, then a drop down menu should come clickable.
    At the end of the line there are three dots "...".
    Click these dots and then you have the dialog you are looking for.

    Best regards,
    Marcel

     
  • appling - 2020-03-31

    Hello @m.prestel,

    wow, thank you for your answer! This sheds some light onto the issue!
    Thank you and have a nice week!
    best regards

     

Log in to post a comment.