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.

  • Location of login.htm page?

    5
    0 Votes
    5 Posts
    3k Views
    M
    From memory: WEB-INF/tags/page.tag
  • Email handler

    3
    0 Votes
    3 Posts
    3k Views
    M
    Look at com.serotonin.mango.vo.User. It implements HttpSessionBindingListener.
  • Arduino and Mango Step by step working example

    8
    0 Votes
    8 Posts
    23k Views
    R
    Hi, I have a one question. I use the modbus serial for comunication. It is script: #include <ModbusSlave.h> /* First step MBS: create an instance / ModbusSlave mbs; / slave registers */ enum { MB_CTRL, /* Led control on, off or blink / MB_TIME, / blink time in milliseconds / MB_CNT, / count the number of blinks / MB_REGS / total number of registers on slave */ }; int regs[MB_REGS]; int ledPin = 13; void setup() { /* the Modbus slave configuration parameters / const unsigned char SLAVE = 1; const long BAUD = 9600; const char PARITY = 'n'; const char TXENPIN = 1; / Second step MBS: configure */ mbs.configure(SLAVE,BAUD,PARITY,TXENPIN); pinMode(ledPin, OUTPUT); } void loop() { /* Third and las step MBS: update in loop*/ mbs.update(regs, MB_REGS); if(regs[MB_CTRL]==1) { digitalWrite(ledPin,1); } else{ digitalWrite(ledPin,0); } } But i want a blink effect in led and i modified the script: if(regs[MB_CTRL]==1) { digitalWrite(ledPin,1); delay(3000); digitalWrite(ledPin,0); delay(3000); } else{ digitalWrite(ledPin,0); } } Well, when i set the bit 1, the led blink but it don't enter in the else. Anyone had the same problem with supervisory and script? tank's *sorry, my english is very weak.
  • Avoid data collisions?

    6
    0 Votes
    6 Posts
    3k Views
    M
    You need at least 1.13.0 to do I/O logging with Modbus. Your other possibility is to set a discard low limit on the point that is > 0, but then you'll only be getting 10 second updates.
  • Useless amount of decimal places.

    7
    0 Votes
    7 Posts
    4k Views
    J
    Please do. That would be awesome. Thanks, Jonathan
  • Compiling and Running Mango source in Netbeans

    6
    0 Votes
    6 Posts
    54k Views
    D
    Where did you find programable source code? I need whole Mango code in order to make new web pages.
  • META POINT CREATION

    7
    0 Votes
    7 Posts
    4k Views
    M
    Version 1.3.1 of the meta module has been released, which should fix this.
  • ENVIRONMENT CANADA MODULE

    7
    0 Votes
    7 Posts
    3k Views
    M
    Appears to be kPa. See e.g.: http://climate.weatheroffice.gc.ca/climateData/hourlydata_e.html?timeframe=1&Prov=ONT&StationID=49908&hlyRange=2011-12-14|2012-03-26&Year=2012&Month=3&Day=25
  • Login from custom form

    6
    0 Votes
    6 Posts
    4k Views
    T
    Would you mind sharing this custom login page at all please? I am fairly new to JSP.
  • How to start with mango

    2
    0 Votes
    2 Posts
    2k Views
    K
    Hi there, I installed Mango this morning but I don't know how to use it! please can any one give me a tutoriel of this software? thanks
  • Server-Side Script to output a table with latest n values of a datapoint

    7
    0 Votes
    7 Posts
    7k Views
    O
    Yes, I can use data for graph or table of values. I have method in Server - javascript (View) for last X values or values between time interval. Similar method I have in javascript (dataPoint). Now I can get last of values and calculate weightedd average, moving average for example. Ondrej
  • How to work with Mango

    4
    0 Votes
    4 Posts
    4k Views
    C
    Hi I am a new comer on this forum
  • Dimensions of "Graphical View editor"

    4
    0 Votes
    4 Posts
    3k Views
    P
    @zumiani said: Hello peppermath, load a background image with desired dimensions. FANTASTIC!!!!!! Grazie!!!!
  • Is thre any way to 'feed' Point Values ?

    3
    0 Votes
    3 Posts
    4k Views
    D
    wha a coincidence, i also want to know this. if you want to earn points, you can play online games on facebook: [url=http://anyonlinegames.com/facebook-games/hidden-chronicles.html]Hidden Chronicles, [url=http://anyonlinegames.com/facebook-games/backyard-monsters.html]Backyard Monsters, [url=http://anyonlinegames.com/facebook-games/galaxy-life.html]galaxy life. I love [url=http://anyonlinegames.com]all best games 2012. Come with me and[url=http://anyonlinegames.com/browser-games/wargame-1942.html] play Wargame 1942, which takes place in second world war.
  • Ressetting Username and Password

    4
    0 Votes
    4 Posts
    4k Views
    K
    if you forgot your password then you have to use the DOS system in this system you can pic your data in to any other disk so it will be safe for you...
  • How get response to function 17? response have 15 bytes...

    4
    0 Votes
    4 Posts
    3k Views
    C
    thanks, it worked
  • How to link the modbus IP address with a data point

    2
    0 Votes
    2 Posts
    3k Views
    L
    Hi team! I´m working with a GPRS modem with Modbus TCP and dynamic IP. I´d like to know if it´s possible to do this: When the GPRS modem starts, it sends the IP address to the HTML receiver (Datapoint "IP Address") WORKING OK When the data point "IP Address" changes, it modifies the IP address of the modbus IP datasource and start the conection with de GPRS modem. Can I link the modbus IP address with a data point? any suggestion? Thanks in advance!
  • How to write server-side scripts

    5
    0 Votes
    5 Posts
    6k Views
    O
    Hi, Scripts in MetaPoints: Context's points - you can add some points to your MetaPoint for access from script. Final value - result, have to save with commnad return value. You cannot save value to other points from script You cannot get others values from points, only last value. You cannot take previous value from Metapoint in your script without simple hack. Hack for previous value from MetaPoint create your metapoint with some simply script save your metapoint and activate it and activate datasource - green light go to another screen on Mango - views, lists and return back to MetaDataSource and metapoint. Now you can add this metapoint as source point for your script. disable alarm level - Context point disabled = NONE I am working in ScadaBR, clone of Mango. Yesterday I modified MetaDataPoints and I added new functions for scripts - last(limit) ... gets last point values and list(from, to) ... gets list of values between .... It works good. Attachment: download link
  • Virtual data source, disable periodic update

    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
  • Integration into Flex or HTML

    4
    0 Votes
    4 Posts
    3k Views
    R
    You can use a public view (under graphical views), which is an externally available page without login, and then embed that in an iFrame.