• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Set value to zero on no update

    User help
    2
    3
    1.0k
    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.
    • jeremyhJ
      jeremyh
      last edited by

      When a point does not update, Mango - as you would expect - just logs the last recorded value. And as you would again expect, both DGLux's charts and Mango's built in chart feature will 'draw a line' between two values.

      But, in cases where we have an extended gap in the data, this can produce pretty ugly results, as per the attached (note I was using the 'spline' chart method):

      image

      image

      I'm struggling to think of a way to prevent this, either in DGLux or within Mango. Any ideas?

      • Jeremy
      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        One thing you could theoretically do is put in an event for no update X minutes, and give that event a handler that sets the point to 0. But, this would mix the zeros in with your data and possibly cause other problems if someone mistakes it for real. In DGLux you can write a script that combs the source value table and transposes it into another table, interpolating however you like. For the current built-in charts, I don't believe there is a solution like the second.

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