• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. KKS

    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
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    KKS

    @KKS

    0
    Reputation
    570
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    KKS Unfollow Follow

    Latest posts made by KKS

    • RE: State chart to show only true values

      Thanks CraigWeb for your response.

      Here is what I tried.

      FIRST ATTEMPT
      <pre ng-bind="comp1OutputValues | json"></pre>

      <ma-calc output="falseOutput" input=" comp1Output | filter:{comp1Output.value == 0} | maFirst"></ma-calc>
      <ma-calc output="trueOutput" input="comp1Output | filter:{comp1Output.value == 1} | maFirst"></ma-calc>
      <pre ng-bind="falseOutput | json" ></pre>
      <pre ng-bind="trueOutput | json"></pre>

      Error shown in attached image

      SECOND ATTEMPT

      <pre ng-bind="comp1OutputValues | json"></pre>
      <ma-calc output="falseOutput" input=" comp1OutputValues | filter:{comp1OutputValues == 0} | maFirst"></ma-calc>
      <ma-calc output="trueOutput" input="comp1OutputValues | filter:{comp1OutputValues == 1} | maFirst"></ma-calc>
      <pre ng-bind="falseOutput | json" ></pre>
      <pre ng-bind="trueOutput | json"></pre> 0_1573229347456_statechart2.png

      Error shown in attached image

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • State chart to show only true values

      Hi,

      I am filtering designer.points from watch list to get the displayed points in the state chart

      To get compressor 1 point this is what I have
      <ma-calc output="comp1Output" input="designer.points | filter:{name:deviceName + 'comp_1_on'} | maFirst"></ma-calc>

      <ma-point-values point="comp1Output" values="comp1OutputValues" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}"></ma-point-values>

      I then use comp1OutputValues in state chart to display compressor 1

      1. To display true values only, I tried to filter on comp1Output output object from ma-calc above

      <ma-calc output="comp1truevalues" input="comp1Output | filter:{comp1Output.values == 1"} | maFirst"></ma-calc>

      it errors out.

      1. How to not display true/false labels in the segments.

      Please let me know how to achieve this?0_1573176645143_statechart.png

      Thanks!

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • RE: Help on few mango components missing

      Thank you so much Jared. I will give it a try.

      I wasn't sure how to get selected points from ma-point-hierarchy-point-selector. This is what I had tried.

      <ma-point-hierarchy-point-selector id="895788e3-8b45-4b67-8726-7081b37b7348" ng-model="maPointHierarchyPointSelectorModel" path="[]" ></ma-point-hierarchy-point-selector>

      I was trying to print by looping "point in maPointHierarchyPointSelectorModel.points".

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • RE: Help on few mango components missing

      Hi Jared,

      I want to create a 'ma-point-hierarchy-point-selector' on the left panel. The right panel should have table with selected point name/values displayed and single chart with all selected point(s) lines. Searched the forum, for this mango .component but coud not find any.

      thx in advance

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • RE: Angular JS - Point Hierarchy – Display Tree

      Thank you so much. I appreciate you help.

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • RE: Angular JS - Point Hierarchy – Display Tree

      HI,

      I was extending this example to print point value- but it is not showing up.

      <h3>Points table</h3>
      <md-table-container ng-init="page.tableOrder='name'">
      <table md-table="">
      <thead md-head="" md-order="page.tableOrder">
      <tr>
      <th md-column="" md-order-by="name">Point name</th>
      <th md-column="" md-order-by="value">Point value</th>
      <th md-column="" md-order-by="xid">XID</th>
      </tr>
      </thead>
      <tbody md-body="" ng-init="total = 0">
      <tr ng-repeat="point in page.points | orderBy: page.tableOrder">

                  <td md-cell="">
                       <img ng-src="{{point.deviceName.indexOf('Meta') > -1 ? '/rest/v2/file-stores/default/xximages/ye.png' : '/rest/v2/file-stores/default/xximages/yerat.png'}}" width="16px" height="16px">
                      {{point.name}}</td>
                  <ma-get-point-value point="point"></ma-get-point-value>
                  <td md-cell="">{{point.value}}</td>
                  <td md-cell="">{{point.xid}}</td>
              </tr>
              </tbody>
          </table>
      </md-table-container>
      
      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • Help on few mango components missing

      Hi

      I was working in dashboard designer, some of the mango components help is not available.
      These are the ones, that I noticed.

      • ma-point-hierarchy-browser
      • ma-point-hierarchy-point-selector
      • ma-point-hierarchy-select

      thx

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • RE: Custom dashboard with admin template

      Thanks! No particular reason. I will take a look at the link.

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS
    • Custom dashboard with admin template

      I am trying to create custom dashboard copying admin template to overides folder. Followed "Mango Dashboard Training - Part 3: Development Environment" video. http://xxxxx/user-ui/tutorial/home never loads. After changing url to http://xxxx/user-ui/tutorial/views/dashboard/home.html. It does load. Left panel which should show section 1 and section 2 does not show up. Please let me know what am i missing.

      Thanks

      posted in Dashboard Designer & Custom AngularJS Pages
      K
      KKS