• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. ThomasEinasto
    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
    • Profile
    • Following 0
    • Followers 0
    • Topics 25
    • Posts 124
    • Best 21
    • Controversial 0
    • Groups 0

    Topics created by ThomasEinasto

    • ThomasEinastoT

      <ma-point-values> & <ma-point-statistics> inside ng-if

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      5
      0
      Votes
      5
      Posts
      1.1k
      Views

      ThomasEinastoT

      Thanks Jared

      This solves it.

    • ThomasEinastoT

      Using <ma-heat-map> with multiple datapoints

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      2
      0
      Votes
      2
      Posts
      931
      Views

      Jared WiltshireJ

      OK, looks like you solved your problem using a custom solution using D3 in a user module. Nice work.

    • ThomasEinastoT

      ma-serial-chart options minimum not applied

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      ThomasEinastoT

      And synchronizeGrid solved it. Thanks @Jared-Wiltshire !

    • ThomasEinastoT

      Modbus Serial Datasource fixed length string issue

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      5
      1
      Votes
      5
      Posts
      1.4k
      Views

      Jared WiltshireJ

      @ThomasEinasto here you go!
      https://forum.infiniteautomation.com/topic/4516/release-notes-for-modbus-3-6-5

    • ThomasEinastoT

      Calling JSON store item in scripting datasource

      How-To
      • • • ThomasEinasto
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      ricardoR

      Hi @CraigWeb ,

      I was successful in following the suggestion and get access to JSON store in scripting data source. However, I cannot do the same in script area of Event Handler. I get the following error when trying to validate.

      java.lang.RuntimeException: java.lang.ClassNotFoundException: com.serotonin.m2m2.Common.getBean

      Any ideas?

      BR,
      Ricardo

    • ThomasEinastoT

      Native desktop app with NodeJS / Electron without having to think about how to solve browser issues

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      11
      2
      Votes
      11
      Posts
      2.7k
      Views

      ThomasEinastoT

      Thanks @Jared-Wiltshire for helping out.

      This solved it, I edited the previous post for css also, so that users would be able to copy-paste without missing out the ordering.

      Final result :

      0_1571203579903_442354f8-87b5-455c-9e3f-8cb1682201f2-image.png

      Thomas

    • ThomasEinastoT

      ma-json-store stopped working

      User help
      • • • ThomasEinasto
      2
      0
      Votes
      2
      Posts
      777
      Views

      Jared WiltshireJ

      @ThomasEinasto You need to set a name on the JSON store item. I'll update the example to set a name.

    • ThomasEinastoT

      PID Datasource

      User help
      • • • ThomasEinasto
      4
      0
      Votes
      4
      Posts
      1.3k
      Views

      ThomasEinastoT

      Thanks @phildunlap with your fast support once again.

    • ThomasEinastoT

      New JsonStore entities through a POST in MangoUI error on user - solved

      User help
      • • • ThomasEinasto
      4
      0
      Votes
      4
      Posts
      1.1k
      Views

      phildunlapP

      Certainly! Thanks for providing such a detailed description!

    • ThomasEinastoT

      JSON store filtering based on stored data - solved

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      1
      0
      Votes
      1
      Posts
      742
      Views

      No one has replied

    • ThomasEinastoT

      Filestore public folder and user module url modal settings

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      Jared WiltshireJ

      @thomaseinasto said in Filestore public folder and user module url modal settings:

      Do do I understand it correctly that ($MA_HOME)/filestore/public folder has the same logic like overrides folder

      It is not the same as the overrides folder. It is a completely separate concept.

      @thomaseinasto said in Filestore public folder and user module url modal settings:

      updates on Mango do not modify the file contents.

      Updates to Mango will not affect the contents of the file store folder.

      @thomaseinasto said in Filestore public folder and user module url modal settings:

      Reason is that as I am building my custom directives/components I would like to put html templates and files with them into folders for keeping a nice hierarchy of my customization.

      Yes the file store is a good place to put your files.

      @thomaseinasto said in Filestore public folder and user module url modal settings:

      Another thing is that have you planned on showing other than .js files in the modal for better customization?
      i.e maybe add filtering for selectable files so that the selected files can be only .js but the user can also modify other files like html/css etc? Right now if I need to modify some html page I need to ssh into mango and modify it there. But it would be sometimes more convenient to do the modifications through the opened modal.

      I'm not sure what the question is here. I don't know what modal you are talking about or where "selectable files" comes into play.

      If you store all your custom component files (js, html, css) in the file store you will be able to edit them inside the Mango UI and you will not have to use ssh to edit the files.

    • ThomasEinastoT

      Amcharts on-init zoom

      How-To
      • • • ThomasEinasto
      6
      0
      Votes
      6
      Posts
      2.4k
      Views

      MattFoxM

      Nicely done. I would have suggested code but it's always hard to gauge someone's coding skill level. Best of luck with future projects.

    • ThomasEinastoT

      Mango not saving historic datalogger data to mango database by using scripting datasource

      User help
      • • • ThomasEinasto
      3
      0
      Votes
      3
      Posts
      895
      Views

      ThomasEinastoT

      Hi Phil,

      Thanks for pointing me to the right direction. By changing logging type mango started logging backdated values nicely.

      Many thanks!

      Thomas

    • ThomasEinastoT

      Dashboard permissions and Edit menu page

      Dashboard Designer & Custom AngularJS Pages
      • • • ThomasEinasto
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      JoelHaggarJ

      Hi Thomas, Your user needs to also have the "user" permission and then you will see your menu. If there are items on the menu you don't want this user to see, edit the menu items and remove the "user" permission or add in a "superadmin" permission. That should give you what you want.

    • ThomasEinastoT

      ssh datasource settable datapoint bug in dashboards module

      Mango feedback
      • • • ThomasEinasto
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      ThomasEinastoT

      Hi Phil,

      Sorry but I have already finished with my project and set it up for my client after I noticed the upgrade.

      I will try it on my next upcoming project.

      I guess if you have fixed it then its okay, I was just bringing it out as I noticed it was behaving strangely.

      Thomas

    • ThomasEinastoT

      How to implement translation on Mango Automation system

      How-To
      • • • ThomasEinasto
      1
      0
      Votes
      1
      Posts
      1.1k
      Views

      No one has replied

    • ThomasEinastoT

      System exception after 2.8

      User help
      • • • ThomasEinasto
      3
      0
      Votes
      3
      Posts
      1.5k
      Views

      ThomasEinastoT

      Thanks, this solved it. Was thinking about it as I have seen the same solution before in the forums.

      As I recall it was 2.7.12. As it was the latest before the 2.8 came out?

      Thanks,
      Thomas

    • ThomasEinastoT

      Metadata source, global scripts and updateing does not working as they should on MangoES

      User help
      • • • ThomasEinasto
      6
      0
      Votes
      6
      Posts
      2.0k
      Views

      ThomasEinastoT

      Hi Phil,

      I have these two scripts in my global scripts so I can call them out in the datapoints. Note, after every if clause there is a return.

      I am calling them out in the datapoints like this

      Damperstate(p538,p537,p539,p540,p592,p594);

      So the function should work then. I am sure the scripts have to work because I am using the exact same function on my other MangoES instance and everything works fine.

      I will look into the github issue as the problem maybe because of the disable/re-enabling. But I cannot see the bugfix there? As I can only see the description and that the problem has been closed and fixed.

      Thomas

      Edit - The first issue about updating has been fixed with adding DNS servers. Thanks.

      The problems with meta are still open.

      Note: By adding return in front of the function as you suggested seems to give me a different result. Will keep you updated if the result is correct!

      It seems all the problems have been resolved hopefully. Will test the system for a day and post the result at the end of the day. It seems that you can say that I had "return blindness" in coding. Sorry for the trouble.

      Many thanks to you Phil.

    • ThomasEinastoT

      Meta data source influencing Modbus Data source

      User help
      • • • ThomasEinasto
      13
      0
      Votes
      13
      Posts
      3.0k
      Views

      ThomasEinastoT

      Hi Phil,

      There are no hs_err logs in my MangoES instance after changing the meta datasources like you instructed. The system was stable for a while but then switched off and a manual restart was needed to get mango up again.

      As I was checking what may be the cause I found out that using concurrent-carbage-collector to free some memory space was the reason for strange behaviour in the system.

      The average uptime was still around 3-5 h.

      After removing the CGC the system went stable and then I noticed that there is a memory leak somewhere because right now the system can work around 20 h and then reboots.

      The memory usage at boot is around 1 gb and starts growing until Mango reboots. Probably because system kills Mango as it is taking so much memory and then the check.sh script reboots MangoES.

      As i understand that removing the CGC set me up with the default GC algorithm but I can't seem to notice if the GC on Mango is freeing up my memory or not.

      Its a problem because I think ideally MangoES should be running for days/months without interruption.

      I have another MangoES in my office running now 3 days straight without problems. Of course it is just a clean out of the box with only System Information datasources activated. But this instance will be going to our clients also next week with a similar system installed on it as the one which I am having problems with.

      Many thanks,
      Thomas

    • ThomasEinastoT

      Graphical Views getting slower with "server-side script" components

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

      JoelHaggarJ

      Here is a video about using the AngularJS code inside a graphic view. You might be able to replace some of your server side scripts with this code. If you want to send us your graphic view JSON export we can take a look and make more recommendations.
      http://infiniteautomation.com/forum/topic/2157/mango-angularjs-beta/2