• 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

    Dashboard slider set value

    Dashboard Designer & Custom AngularJS Pages
    2
    3
    1.7k
    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.
    • L
      LarryVaredo
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        @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>
        

        Developer at Radix IoT

        L 1 Reply Last reply Reply Quote 0
        • L
          LarryVaredo @Jared Wiltshire
          last edited by

          @Jared-Wiltshire
          Thanks, it works!

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