• 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 4 Documentation Website Mango 5 Documentation Website Radix IoT LinkedIn

    Dashboard slider set value

    Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
    3 Posts 2 Posters 2.2k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          LarryVaredo @Jared Wiltshire
          last edited by

          @Jared-Wiltshire
          Thanks, it works!

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post