REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Solved Color of HMI component with 'Group Animation' not correct.

    REXYGEN HMI Designer
    3
    9
    758
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Apollo
      last edited by

      What could be the reason that the colors are different for two equal objects? for example in the lower image you can see the two yellow bargraphs on the left. The one from the 'Oil Press IN' has the correct color, the left one seems to be less bright. The same for the three purple ones on the right side, there it is the middle one which is normall.

      c0348084-553b-4350-ab53-1eb4969583e7-image.png

      cechuratC ondrej_severaO 2 Replies Last reply Reply Quote 0
      • cechuratC
        cechurat @Apollo
        last edited by

        @apollo Hi Kris,
        thanks for question. To be honest it is really hard to say anything without looking into the source .svg file. Can you share it with us?

        Kind Regards,
        Tomas

        1 Reply Last reply Reply Quote 0
        • A
          Apollo
          last edited by

          @cechurat source file send by email.

          Did some testing in the meanwhile : if I isolate for example the 3 purple bargraphs and delete all the rest then the problem does not occur. Changing the dynamic data to a fixed value doesn't change the outcome, then the difference in colour remains.

          1 Reply Last reply Reply Quote 0
          • ondrej_severaO
            ondrej_severa @Apollo
            last edited by

            Hello @apollo,
            The color function in the Group animation component does color interpolation between the given colors. So this allows you to fluently change color eg. from cold to hot. This interpolation is done if the value of the data point for the color is not on the low or high limit.
            I check your SVGs but I am not able to tell if this is your case.

            Best regards
            Ondrej

            A 1 Reply Last reply Reply Quote 0
            • A
              Apollo @ondrej_severa
              last edited by

              @ondrej_severa I used an AND function in the connection string, so if one of the two values which is used is not present the object might show up with a colour somewhere half between grey (when no value connected) and the chosen colour.

              A 1 Reply Last reply Reply Quote 0
              • A
                Apollo @Apollo
                last edited by

                @apollo ...this might be the problem 😕

                6cef7524-e398-4571-b124-b4f1d93c41f6-image.png

                ondrej_severaO 1 Reply Last reply Reply Quote 0
                • ondrej_severaO
                  ondrej_severa @Apollo
                  last edited by

                  @apollo Yes, I know this is inconvenient. We are aware of this limitation and will are planning to change it in the future.
                  Kind regards
                  Ondrej

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Apollo @ondrej_severa
                    last edited by

                    @ondrej_severa it is not a real problem if you take this into account before you start creating your HMI, not afterwards like I did. 🙂

                    But just putting some underscores in front of some alias' to bring them on top of the list and it all worked out fine.

                    ondrej_severaO 1 Reply Last reply Reply Quote 0
                    • ondrej_severaO
                      ondrej_severa @Apollo
                      last edited by

                      @apollo I am glad that it is working.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

                      There is also an outdated REXYGEN community forum.

                      Powered by NodeBB.