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


  • 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!!


  • 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


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


  • 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