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

  • Hi all,
    I'm making some tests on modifying data values of a MODBUS data sources.

    In your demo about the dashboard's slider component, I'm seeing that each action on the slider entail directly a write data command towards the connected MODBUS slave.

    In my dashboard I'd like to write MODBUS data by means of two following steps:

    1 - modifying client-side data by using the slider;
    2 - setting the MODBUS source data point with the client-side data values by means a "SET" button.

    Is there a way to do it?
    Thanks a lot.


  • @LarryVaredo I think this should accomplish what you are asking.

    <div layout="column">
        <md-input-container class="md-block">
            <label>Choose a point</label>
            <ma-point-list limit="200" ng-model="myPoint"></ma-point-list>
        </md-input-container>
    
        <ma-point-value point="myPoint"></ma-point-value>
    
        <md-slider ng-disabled="!myPoint.enabled" md-discrete step="1" min="0" max="100" ng-model="ptValue">
        </md-slider>
            
        <md-button ng-click="myPoint.setValue(ptValue)" class="md-raised">Set to slider value</md-button>
    </div>
    

  • @Jared-Wiltshire
    Thanks, it works!