sorry,have resolved ,it is browser compatibility problem
Posts made by hussam
-
RE: Mango Automation 3.0 Released
-
RE: Mango Automation 3.0 Released
I download the new version 3.0 to test,but is not be started right,it stoped on
INFO 2017-05-08T10:17:38,942 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:362) - Mapped URL path [/sqlConsole.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]
INFO 2017-05-08T10:17:38,942 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:362) - Mapped URL path [/globalScripts.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]have anyone else found this?
-
RE: Developing a module to read data from Redis in-memory data structure store
you just want to read data from Redis,or you want store and read on redis;if you want store,you need to solve the key-Unique issue,redis is key-value struct,if you just want to read,it 's simple,you can see the redis official demo.
-
RE: dataPointvalue quality to indicate datapoint is good or bad
quality field means in pointvalues database table direct indicate one point is good or bad in a exact timestamt.
in ALL loggingType, if one timestamt no value,this can indicate it communication error.
in on_change type,we can use use "No Change" or "No Update" event detectors to indicate it communication error.but when query pointvalue in api,chart,report ,just query data from pointvalue table,we don't join the event detectors to indicate one point is bad or good in a exact timestamt.
-
dataPointvalue quality to indicate datapoint is good or bad
In on_change loggingType , we can't differentiate one datapoint is communication error or is really have value just because value not change,this will impact datapointvalue query in chart, report and other place,especially in chart,if one point communication error on a peroid time then recovered, the chart line display straight line.
if add one quality field,it would avoid this issue.
-
RE: Polling issue with high register number with Arduino via Modbus
update rate must be >timeout*(retries+1),and max read bit count=16*register. just fyi
-
RE: Watchdog for Mango and it's data sources
Mango have already provided the datasource event to watchdog itself, you can use the datasource events.
-
RE: bulk update polling intervals on datapoint
1:stop the mango.
2:update you database use SQL.
3:start again. -
RE: Hours since last point update
It seems like, datapoint value's timestamp change every datasoure poll even if it's value don't change,so the last point update's time = datasource last poll time.
-
many datasource trigger at same time cause high cpu utilization instantaneous
I have more than 50 modbus datasource at one server,"updatePeriodType":"MINUTES", "updatePeriods":5, so, at the * */5 * * * ?, cpu utilization 100% instantaneous.
so,if you have many datasource,avoid trigger them at same time point(same updatePeriodType and same updatePeriods),you can balance them to different time point.
-
RE: Suppression of duplicate datapoint value
Actually,This situation don't happen,which datasource moudule you used?
-
RE: V2.6 Quantize
I am sure the Quantize checkbox is useful in modbus, my logging type is ON_CHANGE, please test in ON_CHANGE condition
-
RE: V2.6 Quantize
This is a Alternate Method,you can set a datasource's cron string replace interval logging type,you can Define a Quantize cron yourself.
-
RE: Modbus4J Modbus RTU master
Modbus4j is a jar lib which be used by modbus module, and the modbus run base one mango, 2.5.2 also is ok,but Modbus4j can't run alone bucause it need some jar.
and the serial com name, if you have windows system,you can find some serial com like com1,com2, this is a string value. -
RE: getting java.lang.UnsatisfiedLinkError when running as modbusmaster
you run on a linux system. please confirm the serial com name is "/dev/ttyM0"? right?
and this should be a jssc environment problem,pleause comfirm if you lose some jar lib -
RE: Modbus4J Modbus RTU master
4th question:if you get a ip address, you should use the modbus tcp/ip,not the modbus rtu(it base one serial com).
3rd question: you should put the serial com name(seem like com1,com2 it is a string value).about the Native lib Version = RXTX-2.1-7 error? please update to the newest mango, it have moved to jssc replace rxtx.
finally, acutally,if you use the mango 2.5.2 version,it have two module ,modbas serial and modbus tcp, it can easy connect to Schneider Power Logic electrical device.
-
RE: possibility of mango cluster
I am trying the HAproxy solution,if it is success ,i will share the functon.
-
possibility of mango cluster
I have running a scada system base of mango(to be exactly is mango+scadabr), it have 27 thousand points, more than 60 modbus Serial datasources, the serial com is virtual com use Ethernet connector which listening a tcp port from gprs, 3g,4g ,Ethernet .
I use mysql database, datasource update period is 5 mintue, every day generate more 7 million pointvalues, so i have to partition pointvalues table based on Column(ts),but now the pointvalues have 1.5 billion values.
the values is growing day by day,so we have a idear,if we can build a mango cluster, every server have 10 thousand points, 10 server we can have 100 thousand points, the mango cluster have one unify web front,we cory the session between 10 server,use haproxy shunt post to different server according to some rules(for example url parameter). for the end user,he don't feel the different. -
RE: Script to enter last read when the read is zero, or NAN
you use the meta datasource or scripting datasource? if logging every 5 minute,and read this point every 1 minute, just wasting resource,the value don't change, you can change you reading period to 5 minute,then ,will be avoid nan.
-
RE: In a scripting datasource, javaScript one line occur error,the next code will not execute
a typical error is one datapoint which in context var list be disabled, or be delete in other place,this datapoint var will occur ReferenceError: "p1" is not defined, and the next script will not execute.
I have tryed to use typeof p1 !=undefined or p1!=null to check first , but it seem like don't work.