• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    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

    How to publish the statistics of any Data Points??

    How-To
    4
    6
    361
    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.
    • S
      skazemi last edited by

      Hey there,

      Just wondering if it is possible to publish (like via Modbus TCP) the statistics (Max, or Min, or Ave) of any Data Points? If yes, how??

      Thanks,
      Saeed

      1 Reply Last reply Reply Quote 0
      • MattFox
        MattFox last edited by

        Please enable the api menu from administration->edit menu -> api docs then save. This will provide all the information you need on mangoUI components. Also refer to the examples page at the bottom of the menu for how they are used.

        Fox

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • CraigWeb
          CraigWeb last edited by

          @skazemi

          What protocol would you like to publish on? You can make meta points that update to a points stats value you choose then publish them.

          1 Reply Last reply Reply Quote 0
          • S
            skazemi last edited by skazemi

            Hi Craig

            Thanks, I want to publish them on Modbus/TCP, do we have any article regarding this??

            Saeed

            cwangv 1 Reply Last reply Reply Quote 0
            • MattFox
              MattFox last edited by MattFox

              I'm still learning about modbus at this time. But if you can make those individual points "settable" then use the setValue() call to write your statistical values back to the modbus endpoint then you're away.

              Look at the setting values example. Just make sure what you are setting is within the parameters of the datatype of your modbus datapoint.

              /ui/examples/setting-point-values/set-point

              /ui/examples/statistics/get-statistics

              Edit: If you're using the publisher, you will likely have to use the mango javascript code then you can return the value to set it for a meta datapoint. Attach this meta datapoint to your modbus tcp/ip publisher and you're away.

              /ui/help/scripting-editor/help

              Fox

              Do not follow where the path may lead; go instead where there is no path.
              And leave a trail - Muriel Strode

              1 Reply Last reply Reply Quote 0
              • cwangv
                cwangv @skazemi last edited by cwangv

                @skazemi
                use the modbus publisher, then do data transfer your statistics to these points.
                0_1597370821267_Screen Shot 2020-08-14 at 12.04.27 pm.png

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