• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. rshah
    3. Topics

    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
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 68
    • Best 9
    • Controversial 0
    • Groups 0

    Topics created by rshah

    • R

      Difficulty Graphing for custom date / time range

      Dashboard Designer & Custom AngularJS Pages
      • • • rshah
      8
      0
      Votes
      8
      Posts
      2.5k
      Views

      R

      No problem!

      Here's another screenshot which might give you some ideas as well -- left the dashboard open on my PC overnight and it crashed -- it crashes much faster on our display PCs, but they do have fairly good specs.

      0_1532533684320_image.png

    • R

      Git Hooks

      Dashboard Designer & Custom AngularJS Pages
      • • • rshah
      15
      0
      Votes
      15
      Posts
      2.8k
      Views

      Jared WiltshireJ

      @rshah said in Git Hooks:

      What did you notice that caused you to think that was the solution @Jared-Wiltshire ?

      Just a hunch after playing with this stuff for a long time, the parent element had these set and it was obviously affecting the children's layout somehow.

    • R

      Params missing from API Documentation?

      Mango Automation general Discussion
      • • • rshah
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      Jared WiltshireJ

      No, you can use it. The documentation is out of date. I have fixed it for the next release.

    • R

      Body Background-Color property

      Dashboard Designer & Custom AngularJS Pages
      • • • rshah
      5
      0
      Votes
      5
      Posts
      2.0k
      Views

      R

      You guys are the best, thanks!

      The custom palette worked even better for our needs.

    • R

      Forum Issues

      Mango feedback
      • • • rshah
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      R

      Still occuring, just FYI:

      0_1525468397725_78576dba-29b0-4710-9297-5c04639d7916-image.png

      Happened when I tried to make a new post

    • R

      Event Detector - get point by XID

      Dashboard Designer & Custom AngularJS Pages
      • • • rshah
      9
      1
      Votes
      9
      Posts
      2.9k
      Views

      Jared WiltshireJ

      @rshah said in Event Detector - get point by XID:

      @jared-wiltshire said in Event Detector - get point by XID:

      Any code you put in the user module will run in the browser so check browser compatibility tables to see if you can use async/await.

      Thank you!

      Oh, actually I just remembered - The promises used in Angular are not native ES6 promises so they probably wont work with async/await. See https://docs.angularjs.org/api/ng/service/$q

      You could probably adapt them though.

    • R

      Angular Errors - Possible Bug

      Dashboard Designer & Custom AngularJS Pages
      • • • rshah
      11
      1
      Votes
      11
      Posts
      2.7k
      Views

      Jared WiltshireJ

      @rshah Thanks, yeah chat is what I meant.

      I really can't explain what you are seeing, we copy and paste into that editor all the time with no issue. I use Windows but I'm sure the other guys in the office running OSX would have told me if there was an issue there.

      Perhaps its the source of the text? Can you make sure you are copying plain text? (sometimes the clipboard can contain marked up text with formatting/colors etc).

      Another thing to try, can you right click and paste?

    • R

      Retrieve last 12 hours of data

      Dashboard Designer & Custom AngularJS Pages
      • • • rshah
      13
      1
      Votes
      13
      Posts
      2.4k
      Views

      R

      Thanks a lot!

      We will do that.

    • R

      API Docs

      Mango Automation general Discussion
      • • • rshah
      5
      0
      Votes
      5
      Posts
      2.3k
      Views

      R

      @phildunlap said in API Docs:

      No luck :(

      I've branched this off to it's own thread for clarity,
      https://forum.infiniteautomation.com/topic/3423/retrieve-last-12-hours-of-data

    • R

      Charts for past 12 hours

      Dashboard Designer & Custom AngularJS Pages
      • charts time ma-point-value • • rshah
      4
      0
      Votes
      4
      Posts
      1.7k
      Views

      MattFoxM

      if you use the ma-now directive and combine it with a maMoment filter for your point values, you can then have it updating for the last 12 hours fixed.

      <ma-now update-interval="1 SECONDS" output="timeNow"></ma-now> <!-- change to minutes or hours as required --> <ma-point-values point="device" values="seasonal" from="timeNow | maMoment : subtract : '12 hours'" to="timeNow" rollup="ACCUMULATOR" rollup-interval="1 DAYS"></ma-point-values>

      I believe it's something to that effect off the top of my head...

    • R

      Modbus Errors

      User help
      • • • rshah
      2
      0
      Votes
      2
      Posts
      877
      Views

      phildunlapP

      Hi rshah,

      It means the modbus slave responded with an error packet, but googling reveals there is no exception code 0x80!

      This likely means that your serial bus isn't configured correctly (and the CRC error supports that). I would guess your parity setting doesn't match the parity setting of the device, but you should double check the buad rate, data bits, stop bits, etc. against the manual for the device.

    • R

      How to get text on Dashboard Designer Components?

      User help
      • • • rshah
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      R

      Thank you!

      That makes sense, appreciate the help!

      Edited the title of the post to make it easier for people to find in the future if searching for something similar.

    • R

      Daily reports - average chart

      User help
      • • • rshah
      4
      0
      Votes
      4
      Posts
      1.5k
      Views

      phildunlapP

      Unlikely that would be added in to the reports module. You can configure such a thing in Excel Reports, and you can email those (but only as attachments).

      The template model is passed to the template by the ReportChartCreator, https://github.com/infiniteautomation/ma-modules-public/blob/main/Reports/src/com/serotonin/m2m2/reports/web/ReportChartCreator.java

      If you were to attempt such a thing, you would probably need to do something similar to how the existing "chartName" passes in the src for an image tag,

      Edit: but, thinking about it, image chart servlet is passed XIDs to real points in the URL, so no, it isn't possible through the template model.

    • R

      Delete extreme values on a case by case basis

      User help
      • • • rshah
      2
      0
      Votes
      2
      Posts
      934
      Views

      phildunlapP

      Hi rshah,

      You can clean the data up by exporting it using the download arrow in the image you shared, then using the add/modify/delete column to specify you wish to delete those values, then you can use the /dataImport.shtm page to have those changes processed.

      Then, on the data point itself, you can use the "Discard extreme values" settings to avoid having extreme values in the data to begin with.

      Edit: Yes it would be possible to review existing values and clean them from a script. I think it would look a lot like this....

      //Untested var toDelete = []; var pntId = 1; var pvd = com.serotonin.m2m2.Common.databaseProxy.newPointValueDao(); //Do the query pvd.getPointValuesBetween(pntId, 0, new Date().getTime(), function(item, index) { //Find the values to delete in the callback if(item.value > 123) toDelete.push(item); }); for(var k =0; k < toDelete.length; k+=1) { pvd.deletePointValuesBetween(pntId, toDelete[k].time, toDelete[k].time+1) }
    • R

      Click PLCs / Mango

      Mango Automation general Discussion
      • • • rshah
      7
      0
      Votes
      7
      Posts
      2.3k
      Views

      M

      We just installed a ClickPLC and are using Modbus TCP.

      This connection is going through a single hop through a Cisco switch.

      Right now I've only configured 1 point as a test.

      For our 1 point, I just checked with a 25 ms update period, and it's been stable for the past 10 minutes, as I haven't seen any errors on Mango's side.

      I'm sure how the polling is affected with more points. I plan on polling at 250 ms, as that is more than adequate for our needs.