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.

  • 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
    24k 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
    4k 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
    4k 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
    8k 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
    7k 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
    3k 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.
  • TCP to Serial and the nmea listener

    2
    0 Votes
    2 Posts
    4k Views
    P
    I'd like to share a little work-around my buddy and i discovered whilst developing a certain project. We use mango for our SCADA environment and especially love the flexibility of it. This is shown out in the way we use the nmea listener. PROJECT: We needed a way to parse a comma separated sentance from a self built board and micro-processor (16fxxx for the nerds out there) Well, the nmea listener did the trick, but then out in the field it proved a little difficult as rs232 doesn't really like a 15 mile cable! So we packaged it up with a modem and sent it via GPRS on, well, lets say TCP port 5555 We then installed a piece of free software (see below) to forward the TCP message to a Virtual Serial Port - COM6. And...as you can see from the attached screenshots, it worked pretty well SOFTWARE: Mango (of course!) Virtual Serial Port Emulator from www.eterlogic.com (free for 32bit platform) Install the software and create a new 'connector' (er...com port) set it with defaults and tick the 'emulate baud rate' box. Then create a 'TCP Server'. Enter the TCP port you want the Server to listen on. Then choose the newly created serial port and in serial port settings, choose 19,200 baud and leave rest as default. Initialize the new 'Devices' and send some data. Create your NMEA listener as a data source in Mango and listen for data. With any luck, you should see some data coming in. THINGS TO WATCH OUT FOR: The NMEA listener is limited to 9600 baud. Thats fine, but your COM Port must be set to at least double that (19,200) for mango to hear your transmission. I don't know the exact reason, maybe someone else could offer an explanation. Don't 'enable' the NMEA data source in mango if you're trying to listen to test data. It will hog the serial port. I'm sure you know that, but it took me while to figure !! I hope someone finds this useful. After all we've benefited so much from this resource. njoy Attachment: download link