• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mebius
    3. Posts

    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 23
    • Posts 64
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by mebius

    • RE: Can we enable/disable a data point by REST API?

      @phildunlap said in Can we enable/disable a data point by REST API?:

      Hi Mebius,

      Of course! A data point has the "enabled" property in its JSON, so you can use the update data point endpoint (The PUT request) to enable or disable a point.

      0_1481563490433_putEndpoint.png

      @phildunlap

      We tried according to http://help.infiniteautomation.com/support/solutions/articles/14000023292-mango-rest-api-authentication , and it worked well on browser but we were not able to authenticate to MA with other web-tools like "curl" at step-1:

      1, GET /login/admin with the header password=admin

      Is the step like this?
      GET /login/admin?password=admin HTTP/1.1

      Thanks

      Mebius

      posted in Dashboard Designer & Custom AngularJS Pages
      mebiusM
      mebius
    • RE: Can we enable/disable a data point by REST API?

      @phildunlap thank you very much!

      posted in Dashboard Designer & Custom AngularJS Pages
      mebiusM
      mebius
    • Can we enable/disable a data point by REST API?

      Hi Tech Supporter,

      Could you please help on this?

      Could we disable/enable a data point by REST API? We checked http://help.infiniteautomation.com/support/solutions/articles/14000027309-explore-the-api and saw there is API to add/delete a data point but we want to enable/disable a point by API.

      Thanks

      Mebius

      posted in Dashboard Designer & Custom AngularJS Pages
      mebiusM
      mebius
    • RE: Cannot browse tag of a OPC DA data source

      it is MA 2.7 on windows XP.

      posted in User help
      mebiusM
      mebius
    • Cannot browse tag of a OPC DA data source

      Hi Admin,
      We met problem as browsing tag of a OPC DA data source failed. The data source can list OPC server but it failed to browse tag and reported "Fail: Message not found for errorCode: 0x000006F5".

      We tried other OPC client tools in the same PC and the tools worked fine as the tools can list tag and monitor the tag.

      Console output is in 0_1477671457483_opcda-list-tag-failed.txt

      Could you please help take a look?

      Thanks

      Mebius

      posted in User help
      mebiusM
      mebius
    • Can MangoAutomation connect to MS SQL Server?

      One of my customer need a SCADA which can connect to an existing MS SQL Server. as I know, Mango Automation can't connect to the SQL Server.

      Is it right? and is there a method to make it possible? thanks.

      posted in Mango Automation general Discussion
      mebiusM
      mebius
    • RE: Developing a module to read data from Redis in-memory data structure store

      @phildunlap

      I used wrong API as case-2. It works fine now. Thank you very much!

      posted in How-To
      mebiusM
      mebius
    • RE: Developing a module to read data from Redis in-memory data structure store

      @phildunlap

      Hi phildunlap,

      We really appreciate your kind help. With your help, we made the new module work. But we still met a problem as the data points in watchlist(http://localhost:8080/watch_list.shtm) do not refresh periodically. In the new module, we have removed some data like "timestampFormat".

      Could you please tell us what could possibly make this refreshing not work?

      Thanks

      Mebius

      posted in How-To
      mebiusM
      mebius
    • Exception when create private data source(with private module)

      Hi supporter,

      We met an exception when save a data source (private module) first time. After reboot the core, this exception disappears, new data sources and related new dara points work fine.

      Could anyone help take a look? How could this type-mismatch happen between DP and DS?

      Thanks

      ===============================

      INFO 2016-07-25 14:57:01,449 (com.serotonin.m2m2.rt.RuntimeManager.stopDataSource:331) - Data source 'MA2Redis' stopped
      ERROR 2016-07-25 14:58:35,893 (com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter:38) - DWR invocation exception
      java.lang.RuntimeException: Data point type mismatch to data source type, unable to save. Are you working with multiple tabs open?
      at com.serotonin.m2m2.web.dwr.DataSourceEditDwr.getPoint(DataSourceEditDwr.java:113)
      at com.serotonin.m2m2.web.dwr.DataSourceEditDwr.validatePoint(DataSourceEditDwr.java:169)
      at com.serotonin.m2m2.web.dwr.DataSourceEditDwr.validatePoint(DataSourceEditDwr.java:160)
      at com.dclink.redis.web.RedisEditDwr.savePointLocator(RedisEditDwr.java:35)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
      at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
      at com.serotonin.m2m2.web.dwr.util.TranslationsFilter.doFilter(TranslationsFilter.java:37)
      at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
      at com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:26)
      at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
      at com.serotonin.m2m2.web.dwr.util.DwrPermissionFilter.doFilter(DwrPermissionFilter.java:45)
      at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
      at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
      at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
      at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
      at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
      at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
      at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      at org.eclipse.jetty.server.Server.handle(Server.java:499)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      at java.lang.Thread.run(Thread.java:744)

      posted in Development general discussion
      mebiusM
      mebius
    • RE: "BUILD FAILED" when build "MBus module" -- mbus-ds:jar:1.1.3 not found

      @phildunlap

      Hi phildunlap,

      I use the code from zip file instead of cloning code from git, module build works fine now with the same steps.

      Thank you very much for your kind help.

      posted in Development general discussion
      mebiusM
      mebius
    • RE: "BUILD FAILED" when build "MBus module" -- mbus-ds:jar:1.1.3 not found

      @phildunlap

      Hi phildunlap,

      Here is the console output.

      Buildfile: F:\ma-proj\ma-modules-public\MBus\build.xml
      [mvn:dependencies] Downloading: com/infiniteautomation/mango/2.7.10/mango-2.7.10.pom from repository central at http://repo1.maven.org/maven2
      [mvn:dependencies] Unable to locate resource in repository
      [mvn:dependencies] [INFO] Unable to find resource 'com.infiniteautomation:mango:pom:2.7.10' in repository central (http://repo1.maven.org/maven2)
      [mvn:dependencies] Downloading: com/infiniteautomation/mango/2.7.10/mango-2.7.10.jar from repository central at http://repo1.maven.org/maven2
      [mvn:dependencies] Unable to locate resource in repository
      [mvn:dependencies] [INFO] Unable to find resource 'com.infiniteautomation:mango:jar:2.7.10' in repository central (http://repo1.maven.org/maven2)
      [mvn:dependencies] An error has occurred while processing the Maven artifact tasks.
      [mvn:dependencies] Diagnosis:
      [mvn:dependencies]
      [mvn:dependencies] Unable to resolve artifact: Missing:
      [mvn:dependencies] ----------
      [mvn:dependencies] 1) com.infiniteautomation:mango:jar:2.7.10
      [mvn:dependencies]
      [mvn:dependencies] Try downloading the file manually from the project website.
      [mvn:dependencies]
      [mvn:dependencies] Then, install it using the command:
      [mvn:dependencies] mvn install:install-file -DgroupId=com.infiniteautomation -DartifactId=mango -Dversion=2.7.10 -Dpackaging=jar -Dfile=/path/to/file
      [mvn:dependencies]
      [mvn:dependencies] Alternatively, if you host your own repository you can deploy the file there:
      [mvn:dependencies] mvn deploy:deploy-file -DgroupId=com.infiniteautomation -DartifactId=mango -Dversion=2.7.10 -Dpackaging=jar -Dfile=/path/to/file -Durl= -DrepositoryId=[id]
      [mvn:dependencies]
      [mvn:dependencies] Path to dependency:
      [mvn:dependencies] 1) com.infiniteautomation.mango:mbus-ds:jar:1.1.3
      [mvn:dependencies] 2) com.infiniteautomation:mango:jar:2.7.10
      [mvn:dependencies]
      [mvn:dependencies] ----------
      [mvn:dependencies] 1 required artifact is missing.
      [mvn:dependencies]
      [mvn:dependencies] for artifact:
      [mvn:dependencies] com.infiniteautomation.mango:mbus-ds:jar:1.1.3
      [mvn:dependencies]
      [mvn:dependencies] from the specified remote repositories:
      [mvn:dependencies] central (http://repo1.maven.org/maven2)
      [mvn:dependencies]
      [mvn:dependencies]
      [mvn:dependencies]

      BUILD FAILED
      F:\ma-proj\ma-modules-public\MBus\build.xml:4: The following error occurred while executing this line:
      F:\ma-proj\ma-core-public\Core\module-build.xml:34: Unable to resolve artifact: Missing:

      1. com.infiniteautomation:mango:jar:2.7.10

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=com.infiniteautomation -DartifactId=mango -Dversion=2.7.10 -Dpackaging=jar -Dfile=/path/to/file

      Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=com.infiniteautomation -DartifactId=mango -Dversion=2.7.10 -Dpackaging=jar -Dfile=/path/to/file -Durl= -DrepositoryId=[id]

      Path to dependency:
      1) com.infiniteautomation.mango:mbus-ds:jar:1.1.3
      2) com.infiniteautomation:mango:jar:2.7.10


      1 required artifact is missing.

      for artifact:
      com.infiniteautomation.mango:mbus-ds:jar:1.1.3

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2)

      Total time: 10 seconds

      thanks

      posted in Development general discussion
      mebiusM
      mebius
    • RE: "BUILD FAILED" when build "MBus module" -- mbus-ds:jar:1.1.3 not found

      @phildunlap

      Hi phildunlap,

      Command "mvn install" succeeded but ant-build for Mbus still failed due to:

      1 required artifact is missing.

      for artifact:
      com.infiniteautomation.mango:mbus-ds:jar:1.1.3

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2)

      posted in Development general discussion
      mebiusM
      mebius
    • "BUILD FAILED" when build "MBus module" -- mbus-ds:jar:1.1.3 not found

      Hi supporter,

      We met this kind of error when ant-build MBus-module's build.xml. Could you please help?

      BUILD FAILED
      F:\ma-proj\ma-modules-public\MBus\build.xml:4: The following error occurred while executing this line:
      F:\ma-proj\ma-core-public\Core\module-build.xml:34: Unable to resolve artifact: Missing:

      1. com.infiniteautomation:mango:jar:2.7.10

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=com.infiniteautomation -DartifactId=mango -Dversion=2.7.10 -Dpackaging=jar -Dfile=/path/to/file

      Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=com.infiniteautomation -DartifactId=mango -Dversion=2.7.10 -Dpackaging=jar -Dfile=/path/to/file -Durl= -DrepositoryId=[id]

      Path to dependency:
      1) com.infiniteautomation.mango:mbus-ds:jar:1.1.3
      2) com.infiniteautomation:mango:jar:2.7.10


      1 required artifact is missing.

      for artifact:
      com.infiniteautomation.mango:mbus-ds:jar:1.1.3

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2)

      Thanks

      posted in Development general discussion
      mebiusM
      mebius
    • RE: Developing a module to read data from Redis in-memory data structure store

      hi Hussam

      I need only to read data from redis and know how to program that. Now I need some instruction on how to build such a data source module on MangoAutomation 2.7.

      Could you please give some advice? Or any open source code can be refered.

      Thanks.

      posted in How-To
      mebiusM
      mebius
    • Developing a module to read data from Redis in-memory data structure store

      hi dear supporter

      I need to developing a module of Mango Automation 2.7 to read data from Redis, a in-memory data structure store, used as database, cache and message broker.

      I think the new data source should be like the SQL data source to a certain extend, could you give some instruction for me on how to develop such a data source?

      Thanks.

      posted in How-To
      mebiusM
      mebius
    • format of http publisher of MangoAutomation 2.7

      I need to build a program to send datas to http receiver of MA2.7, and need to know the format of datas sent by http publisher which can be recognized by the receiver of MA 2.7 .

      where can I get this information for programming? thanks.

      posted in How-To
      mebiusM
      mebius
    • how to extract data from a serial message without a point identifier?

      I user Serial data source to poll data from a serial device, but the response messages has no point identifier like $, # or !, they start with a device address code, like 01. I tried to use 01 as an identifier but failed.

      coudl you please help me? how to extract data from a serial message without a point identifier?

      posted in How-To
      mebiusM
      mebius
    • Can MangoAutomation v2.7 build 458 support WALK method of SNMP to get values?

      I want to use SNMP data source to get disks information in a Linux system, but it seems that WALK not GET method needs to be used.

      Can MangoAutomation v2.7 build 458 support WALK method of SNMP to get values?

      Thanks.

      posted in How-To
      mebiusM
      mebius
    • DGLux dashboard often stops responding for a while

      Hi, dear supporter

      There is an another troubleshooting needs your help.

      A DGLux graphic in Mango Automation often stops responding in early morning, then will get back to work automatically. I mean it doesn't refresh any data and doesn't response to any click. It's so difficult to find the reasons by ourselves that I attached the logfile when this problem happened on the morning of 28th May. 0_1464621104188_MA Log info 0528.zip

      Could you please help us to dig out the reasons? Thanks.

      Best regards.

      posted in User help
      mebiusM
      mebius
    • RE: Mango system updates data values slowly

      An internal data source was created in the Mango system before.

      please see attached screenshot of the internal datapoints.

      thanks.

      Attachment: download link

      posted in User help
      mebiusM
      mebius