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 not following points

2021-10-06
2021-10-18
  • Comingback4u

    Comingback4u - 2021-10-06

    Hello,
    I have a project that uses multiple lines. These lines can be moved around the screen but I'm having an issue.

    First I will tell the line to hide the hash marks.
    Second I will then move the main line.
    Third I will tell the line to show the hash marks

    As seen on the right picture below the hash marks still want to draw in their previous position. It is hard to tell from the picture but you can also see small nubs off the main line where those hash marks would be. As soon as I do something else on the screen the lines jump to where they should be (seen on the left side of the picture below).

    Has anyone run into this and know of a way to address this? It is like I need a visu.refresh command to get those extra lines to see the new points and update.

     
  • m.prestel

    m.prestel - 2021-10-07

    Hey,
    could you provide an example project?

    Thank you!

    Best regards,
    Marcel

     
  • Comingback4u

    Comingback4u - 2021-10-07

    Hey Marcel,
    Thanks for responding. I have recreated a basic project to simulate this. This is using 3.5.17.0.

    What I found in recreating this is under "Visualization Manager" if "Support client animations and overlay of native elements" is checked it works great. Unfortunately my device does not support that option.

    Steps to recreate this in simulation mode:
    1. Press the "Turn Hash Lines On" button.
    2. Press the "Turn Hash Lines Off" button.
    3. Press the "Move Line 300" button.
    4. Press the "Turn Hash Lines On" button.

    This will show the hash lines at the previous location and not on line x = 300.

    If there is a another way to accomplish this I'm all eyes.

     
  • m.prestel

    m.prestel - 2021-10-11

    Hey,

    I can confirm that this looks to be a bug.
    But I got your example working by using a rectangle instead of a line. Could you try and adjust your project?

    Gonna raise an issue for your initial issue.

    Best regards,
    Marcel

     
    πŸ‘
    1
    • Comingback4u

      Comingback4u - 2021-10-18

      This worked great to get us by. Thanks for the help.

       
  • Comingback4u

    Comingback4u - 2021-10-11

    Thanks Marcel,
    I will give this a try.

     

Log in to post a comment.