• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. skiv71
    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
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 48
    • Posts 160
    • Groups 0

    Topics

    • S

      Http sender, url encoding...

      Watching Ignoring Scheduled Pinned Locked Moved User help
      4
      0 Votes
      4 Posts
      3k Views
      K
      @skiv71 said: Hi, Can anyone tell me what files are responsible for encoding the URL's sent via the http sender? If i create a sending string, from a data point, such as... 'abc&__value=xyz' and the sending parameter = __point It should send http://host?__point=abc&__value=xyz but instead it converts everything in the data point string... so the receiver see's http://host?__point=abc%26__value%3Dxyz. Now a php server i've running can cope with this, but what i'd like to do it publish to a mango http receiver. In this case, the http receiver doesn't decode the string, and takes it as it is and so fails. Is the encoding down to the dojo uri.js file? Or is the error in that the http receiver is not decoding the url and reading it literally? Thanks Neil Hey Neil, I don't know if you ever sorted out that issue. I would say that it is definitely an issue with the receiving party not decoding them properly. URL encoding is pretty standard actually. Ref: http://en.wikipedia.org/wiki/Percent-encoding Regards, KD
    • S

      Http receiver

      Watching Ignoring Scheduled Pinned Locked Moved User help
      5
      0 Votes
      5 Posts
      3k Views
      A
      Hi Phillip, Thank you so much for taking out the time to help me with this. This information will definitely help me get started. I will give it a shot to this set this up. Thanks again! Regards, Anirudh
    • S

      Event process command

      Watching Ignoring Scheduled Pinned Locked Moved User help
      2
      0 Votes
      2 Posts
      2k Views
      S
      Hi, I use event process commands quite a lot, but i now have a need to pass the value of a mango variable to the batch file... Can this be done? Or would i need to trigger the batch file from a server side script? Is that allowed? Any tips on how i could do that? Thanks Skiv
    • S

      Google chrome...

      Watching Ignoring Scheduled Pinned Locked Moved User help
      2
      0 Votes
      2 Posts
      2k Views
      S
      this browser has always been my choice for using mango, but in recent years, revisions have made mango less functional.... i.e. alarm banner at top used to flash, doesn't anymore... now i'm seeing errors in the logs where google chrome clients connect... WARN 2012-04-25 12:56:49,828 (com.serotonin.mango.web.dwr.MiscDwr.jsError:193) - Javascript error Description: Script error. Page: Line: 0 Browser name: Chrome Browser version: 18 osName: Windows location: http://xxx.xxx.xxx.xxx:8080/login.htm WARN 2012-04-25 12:58:10,750 (com.serotonin.mango.web.dwr.MiscDwr.jsError:193) - Javascript error Description: Script error. Page: Line: 0 Browser name: Chrome Browser version: 18 osName: Windows location: http://xxx.xxx.xxx.xxx:8080/views.shtm?viewId=6 does anyone have any thoughts? no such errors with IE8 clients (but i hate this browser, too slow). think i'm using 1.12.4 thanks skiv
    • S

      Mailing list

      Watching Ignoring Scheduled Pinned Locked Moved User help
      5
      0 Votes
      5 Posts
      3k Views
      L
      Hi skiv71 To solve this problem you have to edit the mailing_lists.shtm file and remove the document.onmousedown line in "function scheduleInit()": function scheduleInit() { var tbody = $("scheduleRows"); var i, tr, td, hour, j, tbl2, tr2, td2, k, content, title, intId; for (i=0; i<24; i++) { tr = appendNewElement("tr", tbody); td = appendNewElement("td", tr); hour = ""+ i; hour = ("00"+ hour).substring(hour.length); td.innerHTML = hour +":00 - "+ hour +":59"; for (j=0; j<7; j++) { td = appendNewElement("td", tr); td.className = "ptr hreg"; td.style.paddingLeft = "3px"; td.onmouseover = function() { hourOver(this); }; td.onmouseout = function() { hourOut(this); }; td.onmousedown = function() { return hourDown(this) }; content = '<table cellspacing="1" cellpadding="0"><tr>'; for (k=0; k<4; k++) { if (k == 0) title = hour +":00"; else if (k == 1) title = hour +":15"; else if (k == 2) title = hour +":30"; else title = hour +":45"; intId = getIntervalId(j, i, k); content += '<td id="ivl'+ intId +'" style="padding-right:2px;" title="'+ title +'"'; content += ' class="qreg qon" onmouseover="quarterOver(this)" onmouseout="quarterOut(this)"'; content += ' onmousedown="quarterDown(this); return false;">&nbsp;</td>'; } content += '</tr></table>'; td.innerHTML = content; } } document.onmousedown = function() { return false; }; // DELETE THIS LINE TO ENABLE THE ONMOUSEDOWN FUNCTIONALITY document.onmouseup = function() { mouseDown = false; return false; }; document.onselectstart = function() { return false; }; } Regards! :D
    • S

      Alarm events

      Watching Ignoring Scheduled Pinned Locked Moved User help
      4
      0 Votes
      4 Posts
      3k Views
      S
      Hey Matthew, Long time... how's things? That's a real shame, the beauty of the individual accounts and web access is the independant nature of things... Just wasn't right, logging on whilst i knew there was an active alarm present but the event logger says no, because another operator ack it. Not a problem in a single instance, viewing platform, even if it is VNC'd, but clearly is in a multi login web environment :-/
    • S

      Virtual data source, disable periodic update

      Watching Ignoring Scheduled Pinned Locked Moved How-To
      2
      0 Votes
      2 Posts
      2k Views
      S
      hi, not sure if this is the right forum, but here goes... i have some meta points which SUM a real data point (modbus) with a virtual data point (used to provide an offset for calibration purposes). Because i needed precise update timing (for my data logging), i used to CRON to produce the result. What i would rather have done is have the meta point update on context and use the polling interval of the real data source as the trigger (i have quantize) selected. thing is the internal data point will also cause an update and this is undesireable. it would be nice if i could enter 0 update period or disable it in some other means. i thought of entering a very long update period, but thats no good. really need to disable periodic update. any thoughts? thanks skiv
    • S

      Logging.... interval... quantize

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      2k Views
      S
      i've decided to make 2 data sources... a/. source with 1 sec polling for realtime data b/. source with 15min polling and quantize checked source b is set for logging on time stamp so achieves the desired result. however, i'm also publishing this data (potentially both sources) with another scada instance retrieving the data. currently the publising data source is set for updates by changes. since the source is quantize, it would be nice if i could select 'timestamp' change for the update. presently i only see option to select 'all changes' which see's the client scada have per second updates, or 'changes only' which fails since the data value might not have changed. i'm using 1.12.0, has the publishing facility been changed to send updates based on timestamp? thanks skiv
    • S

      Meta point and cron trigger

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      2k Views
      S
      i cannot use event triggers based on time because i need them to be dynamic... but an alternative would to have access the elapsed time of a trigger to i could see where its got to... can i do that?
    • S

      Modbus rtu source via tcp gateway, polling trouble

      Watching Ignoring Scheduled Pinned Locked Moved User help
      4
      0 Votes
      4 Posts
      4k Views
      S
      hi joohwan, sorry i'll try and break it down mango (since 1.8.1 i think) modbus I/O, RTU via a TCP gateway. all i know is it appears mango's polling mechanism is not geared towards multiple sources, i.e. there is no staggering of devices... and i've seen on site where this has risen to unrecoverable comms downtime. resetting the data source or restarting the instance is required. 2 other modbus masters I have at my disposal, seem to polling 'one at a time' and this works much better
    • S

      Event handler, process trigger

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      4k Views
      M
      Can you use some kind of O/S-level semaphore? lockfile() maybe?
    • S

      Event Handler: Process

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      3k Views
      M
      A process timeout in seconds has been added to both the active and inactive fields. This has however been implemented in M2M2 only.
    • S

      Server side script to modify text file on host

      Watching Ignoring Scheduled Pinned Locked Moved User help
      6
      0 Votes
      6 Posts
      3k Views
      S
      Hi Mathew, I've developed a sms alarm service with some scripting (OS side) and the recipient number is dervied from a text file within the host, and i was hoping to to make this adjustable from within the scada.
    • S

      Import issue

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      2k Views
      S
      its ok.... the issue was me... mango was not allowing duplicate tags, so deleted old data sources, and re imported into the new single data source... woo!
    • S

      Point hierachy problem

      Watching Ignoring Scheduled Pinned Locked Moved User help
      7
      0 Votes
      7 Posts
      3k Views
      M
      Yeah, that was one of the several reasons it was created.
    • S

      Event detector with duration...

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      2k Views
      M
      Any issues around this should be fixed in 1.12.0. Please let me know if you see otherwise.
    • S

      Watch lists

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      1k Views
      M
      No, but M2M2 will have this ability with the "wlxid" and "wlid" parameters.
    • S

      Modbus ip, datasource breakdown

      Watching Ignoring Scheduled Pinned Locked Moved User help
      6
      0 Votes
      6 Posts
      2k Views
      S
      i think it would be nice to have groups within a data source. my list is massive, an copying groups would be good
    • S

      Popup

      Watching Ignoring Scheduled Pinned Locked Moved User help
      6
      0 Votes
      6 Posts
      2k Views
      A
      Hi, I am no guru at this topic, I woud recommend some books: OReilly: Dojo The Definitive Giude OReilly: Ajax The Definitive Giude or some online docs/APIs... Arne
    • S

      Non admin users

      Watching Ignoring Scheduled Pinned Locked Moved User help
      2
      0 Votes
      2 Posts
      1k Views
      S
      is it possible to customise what buttons are available from the toolbar... i see they already lose some like system, publishers etc... i'd like to remove others... do i need to edit a file? thanks