• 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

    Inserting decimal places

    Scheduled Pinned Locked Moved User help
    7 Posts 2 Posters 2.0k 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.
    • R Offline
      Robmalone
      last edited by

      Hi all. I'm quite new to mango and java so forgive me if the answer is obvious.
      I am getting the correct voltage values from a modbus device but it is an integer and I can't figure out how to display it with a decimal point. The value is eg. 23456 and I want to display it as 234.56.
      Thanks in advance.

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

        Edit the data point and set its multiplier to 0.01. You will probably want to change its text renderer format too.

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • R Offline
          Robmalone
          last edited by

          Thanks Jared. Where do I insert the multiplier?

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

            Edit the data point at /data_sources.shtm

            0_1544027675134_d2b17d49-e366-4dd6-8001-de25ef2c8482-image.png

            Developer at Radix IoT

            1 Reply Last reply Reply Quote 0
            • R Offline
              Robmalone
              last edited by

              Thanks Jared but I have led you astray. My apologies.
              I am getting the data from a modbus device but then transmitting the data over Sigfox. I am then extracting the value from the Sigfox payload and sending to an email address. I have Mango receiving and extracting the value from an email. I can't see any multiplier option on the email point details page.
              I know it's not the best way to get the data but if I can get this going it means we can use Mango for practically all of our devices as some can only send email notifications.
              Thanks again and sorry for the confusion.

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

                @Robmalone In that case I think your best option is to create a Meta data source and meta data points which ingest the integer data point values and return the divided value.

                https://help.infiniteautomation.com/meta-data-source/

                We have plans to make this easier by providing the multiplier option on all data points, or a script expression which can manipulate the value.

                Developer at Radix IoT

                1 Reply Last reply Reply Quote 0
                • R Offline
                  Robmalone
                  last edited by

                  Ok. I'll give that a go. Thanks for the help Jared.

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