• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. torsten
    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
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by torsten

    • RE: ASCII File Reader How-To

      First, about the above example: I believe the "{}" needs to be masked for Mango Regex as "{". What about the "[" ?

      But somehow I cannot get the ASCII File Reader to work at all:
      In the module section, it does not give a module description but only "???file.description(i18n_en)???". I tried removing the module, restarting, re-installing the module - no change.

      I prepared a simple test text file po.txt (permissions -rw-rw-rw-):

      
      sdfsfdf
      power 1234 W
      asdfasdfr 666
      
      

      And I tried every RegEX and identifier variant I can image, but no data extracted for that point.
      Debug-mode log files do not contain any information (except notification email about the new point created).

      Is there a bug in the recent Mango/ASCII module, or am I a victim of too-close-to-the-screen blindness? :roll:

      posted in How-To
      T
      torsten
    • ASCII File Reader How-To

      I try to use the ASCII File Reader to parse a JSON structure (which is a single line in the file), but somehow I cannot recieve any data from it.
      Can you please explain how to use the Point Identifier, Point Identifier Index, Value Index and Value RegEx correctly?

      Data Source file:

      {"result":{"overview":[{"meta":"GriPwr","name":"Power","unit":"W","value":"2994"},{"meta":"GriEgyTdy","name":"Day yield","unit":"kWh","value":"50.252"},{"meta":"GriEgyTot","name":"Total yield","unit":"kWh","value":"28441.116"},{"meta":"OpStt","name":"Condition","value":"Ok, Ok, Ok"},{"meta":"Msg","name":"Message","value":""}]},"format":"JSON","proc":"GetPlantOverview","version":"1.0","id":"1"}
      

      If I want the Power, I tried the following with no result:
      Point Identifier: {"result:"
      Point Identifier Index: 1
      Value Index: 1
      Value RegEx: "meta":"GriPwr","name":"Power","unit":"W","value":"(\d+)"}

      Thanks a lot!
      Torsten

      P.S. I just found the Wiki http://wiki.infiniteautomation.com by chance. If you want to use it in a serious way for documentation (which I strongly support), please link it from your homepage. Otherwise people cannot find it :wink:

      posted in How-To
      T
      torsten
    • RE: ASCII File Reader How-To

      I try to use the ASCII File Reader to parse a JSON structure (which is a single line in the file), but somehow I cannot recieve any data from it.
      Can you please explain how to use the Point Identifier, Point Identifier Index, Value Index and Value RegEx correctly?

      Data Source file:

      {"result":{"overview":[{"meta":"GriPwr","name":"Power","unit":"W","value":"2994"},{"meta":"GriEgyTdy","name":"Day yield","unit":"kWh","value":"50.252"},{"meta":"GriEgyTot","name":"Total yield","unit":"kWh","value":"28441.116"},{"meta":"OpStt","name":"Condition","value":"Ok, Ok, Ok"},{"meta":"Msg","name":"Message","value":""}]},"format":"JSON","proc":"GetPlantOverview","version":"1.0","id":"1"}
      

      If I want the Power, I tried the following with no result:
      Point Identifier: {"result:"
      Point Identifier Index: 1
      Value Index: 1
      Value RegEx: "meta":"GriPwr","name":"Power","unit":"W","value":"(\d+)"}

      Thanks a lot!
      Torsten

      P.S. I just found the Wiki http://wiki.infiniteautomation.com by chance. If you want to use it in a serious way for documentation (which I strongly support), please link it from your homepage. Otherwise people cannot find it :wink:

      posted in How-To
      T
      torsten
    • RE: Remote view issue

      The problem occurs only, and with all "dynamic graphic" objects.
      I realized that there is a URL call for some "ajax...google..." site.
      Probably there is the problem, as this call does not happen with other graphic objects.

      The debug-mode log does not contain any useful information.
      Here is the call of a view containing a horizontal level (dyn. graphic), that fails:

      
      DEBUG 2013-12-19 08:42:05,764 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=1)
      DEBUG 2013-12-19 08:42:05,767 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=2)
      DEBUG 2013-12-19 08:42:05,772 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=1)
      DEBUG 2013-12-19 08:42:05,780 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=2)
      DEBUG 2013-12-19 08:42:05,806 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=1)
      DEBUG 2013-12-19 08:42:05,814 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=2)
      DEBUG 2013-12-19 08:42:06,757 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=1, eventTypeId=1)
      DEBUG 2013-12-19 08:42:06,768 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=1, eventTypeId=2)
      DEBUG 2013-12-19 08:42:06,781 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.getHandlerInternal:221) - Mapping [/public_view.htm] to HandlerExecutionChain with handler [com.serotonin.m2m2.web.mvc.UrlHandlerController@7f68faf3] and 1 interceptor
      DEBUG 2013-12-19 08:42:08,850 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=1)
      DEBUG 2013-12-19 08:42:08,852 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=2)
      DEBUG 2013-12-19 08:42:10,432 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=1)
      DEBUG 2013-12-19 08:42:10,433 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=2)
      DEBUG 2013-12-19 08:42:10,441 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1)
      DEBUG 2013-12-19 08:42:10,442 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2)
      DEBUG 2013-12-19 08:42:26,854 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1)
      DEBUG 2013-12-19 08:42:26,855 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2)
      
      

      And a view call without the level graphic, that works smoothly:

      
      DEBUG 2013-12-19 08:39:20,637 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=1)
      DEBUG 2013-12-19 08:39:20,638 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=6, eventTypeId=2)
      DEBUG 2013-12-19 08:39:21,336 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=1)
      DEBUG 2013-12-19 08:39:21,338 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=14, eventTypeId=2)
      DEBUG 2013-12-19 08:39:21,341 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1)
      DEBUG 2013-12-19 08:39:21,343 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2)
      DEBUG 2013-12-19 08:39:27,121 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1)
      DEBUG 2013-12-19 08:39:27,124 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2)
      DEBUG 2013-12-19 08:39:33,323 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.getHandlerInternal:221) - Mapping [/public_view.htm] to HandlerExecutionChain with handler [com.serotonin.m2m2.web.mvc.UrlHandlerController@7f68faf3] and 1 interceptor
      DEBUG 2013-12-19 08:39:46,864 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=1)
      DEBUG 2013-12-19 08:39:46,868 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=15, eventTypeId=2)
      DEBUG 2013-12-19 08:40:05,817 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=1)
      DEBUG 2013-12-19 08:40:05,818 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=8, eventTypeId=2)
      DEBUG 2013-12-19 08:40:05,842 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=1)
      DEBUG 2013-12-19 08:40:05,843 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=7, eventTypeId=2)
      DEBUG 2013-12-19 08:40:05,864 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=1)
      DEBUG 2013-12-19 08:40:05,864 (com.serotonin.m2m2.rt.EventManager.returnToNormal:216) - Event returned to normal: type=DataSoureEventType(dataSourceId=11, eventTypeId=2)
      
      

      SUGGESTED SOLUTION:
      Don't use some funny external ajax calls for such simple things, but include the graphics into the mango module code. As intermediate solution, mapping it as an analog graphic will do.

      posted in User help
      T
      torsten
    • RE: Remote view issue

      I have the same issue with Mango 2.1.0
      sstGraphics 1.0.2 is installed.

      If I remove the horizontal and vertical bars, one of the 6 dials becomes visible, but the rest not, and error is the same.

      Mango log file does not contain an entry on that.
      Is there a verbose option?

      posted in User help
      T
      torsten