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.

  • Compare XID values in html5 script

    3
    0 Votes
    3 Posts
    2k Views
    CraigWebC
    Hi Christoff If you don't come right you can paste your code here and explain what you trying to do. It is hard to help you when we don't know exactly what you want to do.
  • Custom model for Mango 2.8

    7
    0 Votes
    7 Posts
    2k Views
    Jared WiltshireJ
    @vlasta said in Custom model for Mango 2.8: For some reason I thought that device name = data source name... Well it does default to that, so I can see where you went wrong. Just a heads up in Mango >= 3.3.0 you can add any number of arbitrary data point tags to help differentiate and locate your data points, e.g. site = xyz, boiler = 1 etc Just something to keep in mind if your system becomes more complicated. @vlasta said in Custom model for Mango 2.8: Your example works just fine too, even with my over complicated configuration. Thanks heaps! No worries.
  • Question about duration

    4
    0 Votes
    4 Posts
    2k Views
    CraigWebC
    Hi Sean 1.On your original point you must make then event detector with your 2 minute duration. 2. Then create a new binary virtual point. 3. go to event handler page and make a event handler like the picture. use the meta point that you created. [image: tZ7ewyr.jpg] 4. Now use <ma-get-point-value> on the new meta point and use that for your dashboard logic.
  • Calculating a value in page revisit

    3
    0 Votes
    3 Posts
    2k Views
    B
    great. thanks. Sorry for the plethora of noob questions...
  • Quest about value range average ?

    3
    0 Votes
    3 Posts
    2k Views
    seanS
    @craigweb Yes it work!
  • Can't find page displayed on menu

    4
    0 Votes
    4 Posts
    2k Views
    P
    Thanks Phil I forgot about this post.
  • GET realtime function

    26
    0 Votes
    26 Posts
    17k Views
    phildunlapP
    Nothing is returned from the subscribe function, so the command you have stopped on wouldn't have anything to print. Because the JavaScript in a browser executes in a single threaded way, the onmessage function couldn't log anything if execution is paused.
  • Filter Device Name after Tag Select

    8
    0 Votes
    8 Posts
    2k Views
    phildunlapP
    To the question of the text in the tag select box, it looks like that's done with transclusion like, <md-input-container> <ma-data-point-tag-select ng-model="maDeviceSelect" key='device' restrictions="{Site:maSiteTagSelect}" > <ma-label>Plant or Equipment for the selected Project</ma-label> </ma-data-point-tag-select> </md-input-container> And to the initial display issue if you do hardcode the series axis sides, you should be about to do something like, <ma-serial-chart ng-if="points.length > 0" .... ></ma-serial-chart> to prevent it from showing up when empty with an enormous legend.
  • Dashboard refresh speed?

    21
    0 Votes
    21 Posts
    10k Views
    terrypackerT
    Brian, I replicated the closing of a websocket due to the ping/pong timeout and found that my system handles it gracefully without throwing that java.lang.IllegalStateException. The page stops updating but no errors are produced and I get the same log message about "Didn't receive Pong from Endpoint within..." I replicated this by making the Mango server delay to read the pong message. I'm wondering if your browser isn't sending the pong message... (This should happen automatically by most every browser and isn't something you need to code into your page) For yet more information on the connection failure you can add this to your log4j2.xml file <AsyncLogger includeLocation="true" name="org.eclipse.jetty.websocket.common.io" level="debug"/> Ah Ok I just got you latest post while drafting this. I'm posting it anyway since I put a little time into it and it could be helpful to someone else in the future.
  • How to recover missing dashboard Page ??

    7
    0 Votes
    7 Posts
    2k Views
    phildunlapP
    Hi glamprecht, While I do ambiguously omit the http://host.extension:port/ I do so because I abhor loose hyperlinks. If I have a path that begins with /ui/ it's probably a path in Mango. Same if it ends with .shtm . You can edit the JSON Store through the JSON Store menu item under the administration menu in the UI or by going directly to the URL.
  • Drop down DataSources instead of Watchlist

    2
    0 Votes
    2 Posts
    1k Views
    phildunlapP
    Hi glamprecht, You can use a parameter of type data source. Then you can use that data source object in crafting the RQL for the query on the 1 watchlist it would take to achieve what I think you're asking. Go to the Watchlist Builder, make a new point query watchlist [image: wJ2HPvZ.png] Add a data source parameter [image: hQsxcMg.png] Refer to the value of that parameter, which in this case is a data source object, in the RQL query. I am using the Data Source XID for I need to use the interpolated value {{DS.xid}} to get that xid from the data source model. [image: xF0bJir.png] Profit! [image: AnMV9O9.png]
  • Easiest way to pass mango point value to a script?

    3
    0 Votes
    3 Posts
    2k Views
    V
    Thanks Craig. Using SVG is soooo much better idea than canvas. Works perfect!
  • data logging?

    5
    0 Votes
    5 Posts
    1k Views
    R
    @phildunlap Hey! The COV was my issue! Thanks very much. Cheers, Rowen
  • List of Events

    3
    0 Votes
    3 Posts
    2k Views
    P
    Thanks for you r response, I have done an upgrade from 3.4 to 3.5 this morning and it now works, so we all good.
  • Google maps marker on click

    3
    0 Votes
    3 Posts
    1k Views
    P
    Thanks Jared, I think I understand it a bit better now. Will see how we go setting a few markers up.
  • Page access based on user

    3
    0 Votes
    3 Posts
    2k Views
    Jared WiltshireJ
    You should Make sure that the data points have permissions set appropriately Set the read permission on the page that you don't want limited users to have access to Use ng-if / ng-disabled to hide or disable components on your page that everyone has access too <span>Your username is '{{User.current.username}}'.</span> <div ng-if="User.current.hasPermission('superadmin')"> <span>Your user is an administrator.</span> </div> <div> <md-button class="md-raised" ng-disabled="!User.current.hasPermission('superadmin')">Go to other page</md-button> </div>
  • Question about page include

    13
    0 Votes
    13 Posts
    4k Views
    seanS
    @craigweb Thanks so much. It work.
  • Question about audio

    5
    0 Votes
    5 Posts
    2k Views
    seanS
    @jared-wiltshire Thank Jared.
  • Latest version (3.5.5) appears to fail rendering data

    19
    0 Votes
    19 Posts
    5k Views
    MattFoxM
    That will likely be it, thanks Phil!
  • Excel Report cannot be opened

    14
    0 Votes
    14 Posts
    4k Views
    phildunlapP
    Can you check the contents of the /opt/mango/web/modules/excelReports/report-data over SSH or webmin? If there are file extensions there (and looking at the code I cannot imagine there are not) then the issue must either be your computer/browser, or however you're downloading the file. Maybe circle in a screenshot where you're downloading the file from? I was not able to reproduce what you described, and further I cannot see any way in the code for the files on the ES not to have the proper extension, and there is certainly nothing that would be stripping that extension off when you download the file.