• 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

    Edit datapoints value simultaneously

    User help
    2
    4
    256
    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
      aosc98 last edited by

      Hello, I would like to change 4 data points at the same time but I can't find a way to do it.

      Is there any possible way to change the value of these datapoints at once?

      Thanks!!

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

        Assuming you are clicking on a button or something...

        <ma-button label="Set Four points" ng-click="pt1.setValue(value);pt2.setValue(value);pt3.setValue(value);pt4.setValue(value);">
        </ma-button>
        

        You can set a value with the timestamp as well if necessary:

        pt1.setValue({"value":value,"timestamp":timestamp,"annotation":anno});
        

        Fox

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

        A 1 Reply Last reply Reply Quote 1
        • A
          aosc98 @MattFox last edited by

          @mattfox
          Thanks for your answer, I am using the web application only, no code. Is there a way to do it without touching code?

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

            The ways I showed you there is using mangoUI within the web interface. This can be implemented from the dashboard designer.
            Assuming you are using a version 3 mango system.

            Look at the API exanples which have to be turned on via the menu settings to see what I mean.
            If you are still without a paddle give me the overall picture of what you want to achieve and I can take you through it.

            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
            • First post
              Last post