| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/02/2008 11:27:44
|
Keith
Initiate
Joined: 26/06/2007 11:19:05
Messages: 42
Offline
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/02/2008 11:32:22
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
That's what the Meta data source is for.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/02/2008 11:41:46
|
Keith
Initiate
Joined: 26/06/2007 11:19:05
Messages: 42
Offline
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/02/2008 12:09:36
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
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?
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/02/2008 13:06:30
|
Keith
Initiate
Joined: 26/06/2007 11:19:05
Messages: 42
Offline
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 13/02/2008 07:54:40
|
Keith
Initiate
Joined: 26/06/2007 11:19:05
Messages: 42
Offline
|
Just to close this, it was a Java_home issue, once i sorted the install out everything worked fine
Thanks
Keith
|
|
|
 |
|
|