[Logo] Serotonin Software Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: craig
Forum Index » Profile for craig » Messages posted by craig
Author Message
ah yep, that is mo betta
mango can store data in mysql, derby or mssql database. derby can be setup as network instance so other programs can query.
while mango does use blobs to store some objects, you can cut and paste the code for turning the blob back into an object pretty easily.

if you want to write a JSP which displays some data for easy parsing look up the custom JSP function - I haven't done this so I don't know the specifics.

the data publisher surely must be adaptable to your needs?

wuciwug wrote:modbus slave wouldn't help.

incoming http would work and I can write the jsp, but what do I query, I thought mango had a propitiatory data base?

I am also glad that someone has picked up the torch, and indeed I was looking at scadaBR as an upgrade path from mango.

we must be looking at different logos: http://www.scadabr.com.br/
From browsing their site I expected more credit assigned where credit is due, even if the copyright notices in the code are left intact


apl wrote:Search for ScadaBr

Arne


it is unfortunate the scadaBR website gives no credit to matt or serotonin. "The ScadaBR was born in MCA Systems in Florianópolis / SC"
if you want the data to be queried, you can do this with a custom jsp and then make http requests.
look at data publisher for a push method which probably uses json.
you could also write the data to a modbus slave.
etc
You have to set up a scheduled report which send the data via email, then this script checks the e-mail and saves the attached CSV file. It has been working well for me.

Victorino wrote:I'm trying to figure out how download a csv file of some data points with curl or wget to be presented on a different system. The customViewExample.jsp only provides four examples and I can't figure out how to retrieve historical data.

A csv file can be manually downloaded from the watch list or reports but I need to automate the download process.

Any help would be greatly appreciated.


I have a script which can save the .csv file attached to an e-mail. then you can set up a report to be e-mailed and then retrieve the data using POP3.
I was asking mwil7034.
do you have a github repo?
why will it be a nightmare?
create a repository containing the released source, make your branches off of that, make your changes in your branches, when new releases occur update the released source trunk and then merge the changes in to your branches.

I was doing this with bazaar and am now using github but haven't been through a new source release on that yet.

mango pace of development will probably slow down with new focus being m2m2, so probably there won't be many big changes to serotonin source coming down the pipe anyway.

That being said I haven't updated my branches since 1.1.6
For years Serotonin has been doing a great job of adding new features, fixing bugs, and providing amazing support via this forum and somehow they are providing this service to us free of charge.

The new features scada-br has added, such as OPC, have so far appeared in the official Serotonin releases, which is of great benefit to everybody.

I'm sure scada-br will continue to integrate the new features and bug fixes from the serotonin releases and hopefully serotonin will be able to integrate more of the new scada-br features as they mature. This makes scada-br more of a 'branch' than a fork. I realize english isn't everyone's first language but it is an important differentiation.


what kind of meter is it? see if the manufacturer has software meant to work with the meter, and if you can get it to work then you know the comms are good, and then proceed to getting it to work with mango
ICMP ping from Java is not a straightforward thing to do.

There are lots of programs that are designed to track uptime of hosts like cacti, nagios and open nms that might be more suited than mango for tracking uptime.

Or as you say get a slightly less barebones switch which has SNMP.

http://mango.serotoninsoftware.com/downloads/mango-source-1.11.0.zip
amoulart wrote:

if (j1.value == 2) {return o1.value;} else return currentvalue;

j1 is the index value
o1 is modbus register


have you tried:

if (j1.value == 2) {return o1.value;} else return m1.value;

j1 is the index value
o1 is modbus register
m1 is the meta point


I know that this could potentially lead to recursion on the meta point update event, but I think I have seen that topic come up before in this forum and mango is smart enough not to trigger a meta point update event when the meta point itself is updated.

Give it a shot...

Yes, all the meta point scripts will run every time the index is updated, but that doesn't really matter.
 
Forum Index » Profile for craig » Messages posted by craig
Go to:   
Powered by JForum 2.1.9 © JForum Team