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

    NaNs in HMI chart

    Mervis
    3
    7
    1594
    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áček 1 Reply Last reply Reply Quote 0
              • Martin Kudláček
                Martin Kudláček administrators @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
                  • First post
                    Last post