• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. etantonio
    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
    E
    • Profile
    • Following 0
    • Followers 1
    • Topics 58
    • Posts 159
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by etantonio

    • E

      Timezone UTC no way to change it

      Mango General
      • • • etantonio
      1
      0
      Votes
      1
      Posts
      497
      Views

      No one has replied

    • E

      Publisher problem when connection falls for 1 minute

      User help
      • • • etantonio
      2
      0
      Votes
      2
      Posts
      476
      Views

      E

      using this in a scripting datasource I can restart the publisher

      function enablePublisher(xid, enabled) { var publisher = com.serotonin.m2m2.db.dao.PublisherDao.instance.getPublisher(xid); publisher.enabled = enabled; com.serotonin.m2m2.Common.runtimeManager.savePublisher(publisher); } if (startPublisherRestartScript.value === 1){ startPublisherRestartScript.set(0); enablePublisher("Pub_E2AX_TRK-3.1", true); }

      my problem is that I don't know how to understand that the publisher is sending data to nowhere, the alarm on Connection and Socket are not working as expected so, for example I could check this port number:

      d66fb17b-6d2c-4225-bbc2-cc2eb07b356f-immagine.png

      it changes when the modem change IP, how I can have the port number in the same scripting datasource?

      I would like to avoid to restart the publisher every minute.
      Thanks
      Antonio

    • E

      Mango 2.8.8 licensing price for modbus over 300 datapoints

      Mango General
      • • • etantonio
      1
      0
      Votes
      1
      Posts
      483
      Views

      No one has replied

    • E

      Design pattern to modify an epoch timestamp on modbus tcp

      Scripting general Discussion
      • • • etantonio
      2
      0
      Votes
      2
      Posts
      986
      Views

      E

      Using a Meta Data Source I think could be possible to format the date as I need but how I can then map to an epoch as required when the user for example change the hour?

    • E

      Reversed String on modbus

      Mango Automation general Discussion
      • • • etantonio
      1
      0
      Votes
      1
      Posts
      560
      Views

      No one has replied

    • E

      Unix Datetime formatting including locale

      Mango Automation general Discussion
      • • • etantonio
      1
      0
      Votes
      1
      Posts
      369
      Views

      No one has replied

    • E

      Float unrecognized question

      Mango Automation general Discussion
      • • • etantonio
      4
      0
      Votes
      4
      Posts
      981
      Views

      MattFoxM

      Might be worth writing your own bridge to parse the data between the two systems.
      Are you using an RTU encapsulation to talk to the stm32 or is it just TCP directly to it?

      Just thinking it would definitely be a better option than trying to talk to your micro and not brick anything....

      Fox

    • E

      Network speed really slow and difficulties to load web pages

      Mango Automation general Discussion
      • • • etantonio
      5
      0
      Votes
      5
      Posts
      1.2k
      Views

      E

      Thanks, at the end the problem was solved on network side, it was really too slow. Thanks

    • E

      Datasource page not working on Firefox, Chrome, Edge (Mango 2.8.8)

      Mango Automation general Discussion
      • • • etantonio
      3
      0
      Votes
      3
      Posts
      967
      Views

      E

      It works,
      thanks again,
      Antonio

    • E

      Problem with graph of montly sum of a datapoint

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

      CraigWebC

      @etantonio I believe you have made a typo on the moment filter:
      {{'now' | maMoment:'startOf':'month' | maMoment:'format':'dddd'}}.
      You forgot the ma

    • E

      First initializing a chart using ma-point-values xid built using other datapoint values

      Mango Automation general Discussion
      • • • etantonio
      4
      0
      Votes
      4
      Posts
      1.1k
      Views

      E

      It's not working for me, I'll solve this repeating the page for any "trackerRowColumn" in the plant instead of creating a template to use for all the plant, thanks anyway.
      Antonio

    • E

      Publisher logs in ma.log how to avoid?

      How-To
      • • • etantonio
      1
      0
      Votes
      1
      Posts
      585
      Views

      No one has replied

    • E

      node-mango-client to update datasource properties on Mango 2.8

      Mango Automation general Discussion
      • • • etantonio
      8
      0
      Votes
      8
      Posts
      1.4k
      Views

      E

      yes, you're right, the following code it's ok. thanks,

      var ssdao = new com.serotonin.m2m2.db.dao.SystemSettingsDao(); ssdao.setValue("emailFromName", "Etantonio");

      instead for excelReport:

      var voExcelReport = com.infiniteautomation.mango.excelreports.dao.ExcelReportTemplateDao.instance.getByXid("My_DailyReport") voExcelReport.setName("Etantonio") com.infiniteautomation.mango.excelreports.dao.ExcelReportTemplateDao.instance.save(voExcelReport);

      Antonio

    • E

      Examples code is available?

      Mango Automation general Discussion
      • • • etantonio
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      Jared WiltshireJ

      Have you checked under the examples menu?
      /ui/examples/svg/basic-usage

      There's also various help articles
      https://help.infiniteautomation.com/interactive-svg-graphics
      https://help.infiniteautomation.com/view-development-with-svg-in-mango
      https://help.infiniteautomation.com/dynamic-floor-plan

      There's also a lot of results if you search the forum.

      @etantonio said in Examples code is available?:

      it is interesting so I want to know if somewhere is available the corresponding code.
      Thanks,

      No I don't believe the markup is available anywhere. However there is nothing in particular special about that page, its some images, point value components and a <ma-tile-map>.

    • E

      Hide a field if it is not updated during last day

      Mango Automation general Discussion
      • • • etantonio
      5
      0
      Votes
      5
      Posts
      1.5k
      Views

      E

      at the end of all the simplest working solution for me seems to be

      <ma-now update-interval="1 minutes" output="theTimeNow"></ma-now> <ma-calc input="theTimeNow | moment:'subtract':24:'hours'" output="theTimeADayAgo"></ma-calc>

      and then:

      <md-grid-list md-cols="11" md-gutter="0px" md-row-height="35px" ng-if="theTimeADayAgo.isBefore(TRK_0_1_automa_state.time)">
    • E

      Virtual Data Source to store plant name

      Mango Automation general Discussion
      • • • etantonio
      4
      0
      Votes
      4
      Posts
      1.3k
      Views

      phildunlapP

      Certainly!

      You may still be able to mitigate this by lowering the max open files in your Mango/overrides/properties/env.properties file. In specific, the

      #Set the number of files the database can have open at one time db.nosql.maxOpenFiles=500

      property. The comment is somewhat misleading, what this number really means is the maximum number of output streams that can be held open. Setting this to 0 would tell the database to always close files after every write, which would encourage flushing to disk (I believe MAPPED_BYTE_BUFFER streams may not be flushed until a subsequent garbage collection)

      The downside would be that buffering is done for a reason, which is efficiency, especially when points are receiving fairly rapid writes. So, performance can be affected.

    • E

      Mango Speed up on Raspberry

      Mango Automation general Discussion
      • • • etantonio
      5
      0
      Votes
      5
      Posts
      1.4k
      Views

      phildunlapP

      Maybe I've to create a chron script that daily rsync backup directory on a remote server.

      Yes, that's a good way to do it.

    • E

      Compression during Mango boot

      Mango Automation general Discussion
      • • • etantonio
      2
      0
      Votes
      2
      Posts
      670
      Views

      phildunlapP

      Hi etantonio,

      The logs you've shown span eight seconds and show that your publisher was running with debug logging on. I do not know what you're asking about as far as speeding things up, or the normality of it. All the log shows are a few packets being sent every second.

      If those messages are in the ma.log file, you can decrease the log settings in your Mango/classes/log4j2.xml or Mango/overrides/classes/log4j2.xml file that pertain to the package (which would lead me to believe you may have switched to the debug-log4j2.xml since these messages aren't in the default configuration).

      Otherwise, I suspect this is from the publisher log, and then your publisher is set to log debug messages in its publisher settings.

    • E

      Reflection use for datasource host

      Scripting general Discussion
      • • • etantonio
      6
      0
      Votes
      6
      Posts
      1.7k
      Views

      phildunlapP

      No, it's a reference to the variable in Java directly.

    • E

      Angular question in a master slave Mango publisher environment

      Scripting general Discussion
      • • • etantonio
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      E

      @etantonio said in Angular question in a master slave Mango publisher environment:

      The architecture seems to be ok in this way but my problem is on master side, I've no idea about how to use the returning masterControlEnabled=0 from the slave to the master in order to switch off the upgrade request from the master to the slave.

      this is my solution to this:

      <md-button ng-if="TRK_9_1_master_control_enabled.value==1" ng-init="TRK_9_1_upgrade.setValue(0)" ng-click="TRK_9_1_upgrade.setValue(1)" class="md-raised" title="Upgrade">Upgrade</md-button> <md-button ng-if="TRK_9_1_master_control_enabled.value==0 && TRK_9_1_upgrade.value==1" class="md-raised md-pressed" title="Upgrading">Upgrading</md-button>