• 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

    Calculating a value in page

    Dashboard Designer & Custom AngularJS Pages
    2
    3
    1.3k
    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.
    • G
      georgestefan
      last edited by

      Hello, I have to calculate capacity for a chiller, and I want to know if is possible to calculate this without creating a meta point. I have the following formula:
      ChCapacity = (CHW_Flow * (CHW_Return_Temp - CHW_Supply_Temp)*1.8)/24

      It is possible to calculate this directly on web page and display the result somewhere in page or I have to create a meta point.

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

        @georgestefan Its absolutely possible. You can just put your formula into a ng-bind attribute

        e.g.

         <div id="13688a40-881d-4956-b42a-14362bbe73ef" style="position: absolute; left: 480px; top: 142px;" ng-bind="(CHW_Flow * (CHW_Return_Temp - CHW_Supply_Temp)*1.8)/24"></div>
        

        However I assume those are actually point values in which case it will probably be more like

         <div id="13688a40-881d-4956-b42a-14362bbe73ef" style="position: absolute; left: 480px; top: 142px;" ng-bind="(flowPoint.value * (returnTempPoint.value - supplyTempPoint.value)*1.8)/24"></div>
        

        You can also wrap expressions with curly braces {{ }}

        <div>
        {{ (flowPoint.value * (returnTempPoint.value - supplyTempPoint.value)*1.8)/24 }}
        </div>

        Developer at Radix IoT

        G 1 Reply Last reply Reply Quote 2
        • G
          georgestefan @Jared Wiltshire
          last edited by

          @jared-wiltshire Thank you, works well

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