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.
Calculating Averages across sensors
-
Is ther a way of taking the output from a group of sensors and performing calculations to produce a virtual type sensor output ?
Cheers
Keith
-
That's what the Meta data source is for.
-
Ah Ha !!! Went there and had a look, I suspect thats beyond my level,
Is this what i should get ?
var currentPoint; var pointListColumnFunctions = new Array(); var pointListOptions; function init() { var pointListColumnHeaders = new Array(); pointListColumnHeaders[pointListColumnHeaders.length] = "Name"; pointListColumnFunctions[pointListColumnFunctions.length] = function(p) { return ""+ p.name +""; }; pointListColumnHeaders[pointListColumnHeaders.length] = "Data type"; pointListColumnFunctions[pointListColumnFunctions.length] = function(p) { return p.dataTypeDescription; }; pointListColumnHeaders[pointListColumnHeaders.length] = "Status"; pointListColumnFunctions[pointListColumnFunctions.length] = function(p) { var id = "toggleImg"+ p.id; var onclick = "togglePoint("+ p.id +")"; if (p.enabled) return writeImage(id, null, "brick_go", "Enabled - click to disable", onclick); return writeImage(id, null, "brick_stop", "Disabled - click to enable", onclick); }; if (typeof appendPointListColumnFunctions == 'function') appendPointListColumnFunctions(pointListColumnHeaders, pointListColumnFunctions); pointListColumnHeaders[pointListColumnHeaders.length] = ""; pointListColumnFunctions[pointListColumnFunctions.length] = function(p) { return writeImage("editImg"+ p.id, null, "icon_comp_edit", "Edit point", "editPoint("+ p.id +")"); }; var headers = $("pointListHeaders"); var td; for (var i=0; i
Cheers
Keith
-
Umm, no. And we can't recreate the problem. It's a longshot, but can you try pressing Ctrl+F5 on the page and see if it clears up?
-
Hmmm no it didn't make any difference. I suspect the install is at fault its not the only time I have seen the issue. Should reports have anything in it ? when I load the page it just says waiting for localhost, otherwise its blank
Cheers
Keith
-
Just to close this, it was a Java_home issue, once i sorted the install out everything worked fine
Thanks
Keith