• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    NaNs in HMI chart

    Scheduled Pinned Locked Moved Mervis
    7 Posts 3 Posters 3.2k Views
    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.
    • M
      Matt
      last edited by Matt

      Hi,

      I'm building an HMI with a chart in it. The chart is plotting a few values that I set to NaN when there are communication errors, etc. The problem is that the chart doesn't appear to handle NaNs correctly--it just interprets them as something like -5*10^38 and ruins the scaling on the vertical axis. Is there a way to perhaps have the chart ignore NaN values or otherwise pass it blank values?

      Thanks,
      Matt

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @Matt
        last edited by

        @mdturnerphys Hello, thanks for the report. Forwarding it to the Mervis developers and let you know once we have more info

        1 Reply Last reply
        Reply Quote 0
        • M
          Matt
          last edited by

          Hi Tomas,

          Any updates on this?

          Thanks,
          Matt

          T 1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators @Matt
            last edited by

            Hello @matt ,

            not yet :(

            1 Reply Last reply
            Reply Quote 0
            • M
              Matt
              last edited by

              Just thought I'd check for updates on this. Thanks.

              Martin KudláčekM 1 Reply Last reply
              Reply Quote 0
              • Martin KudláčekM
                Martin Kudláček @Matt
                last edited by

                Hi @matt,
                sorry, still no update. I pushed the developers a bit.

                Martin

                M 1 Reply Last reply
                Reply Quote 0
                • M
                  Matt @Martin Kudláček
                  last edited by

                  @martin-kudláček Okay, thanks. After posting yesterday I managed to figure out the communication errors I was getting, so preventing the NaNs from messing up the chart is less of an issue now.

                  1 Reply Last reply
                  Reply Quote 1

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post