I could really use some advice on this scripting issue...
I have an es polling data once a minute and on these data calculating a few hundred metapoints every minute as well. This data is then published to a cloud server where I run a script datasource to calculate the aggregate of the piped in metapoints. Although the script tests fine in the edit window, the cron does not appear to be running the script or for some reason the point values are not being saved in the point variables? I do not know how to differentiate the problem, The point variable says "Active source point has no value". Why won't this calculate this on the minute as the script says.
This is the script...
var acc1 = 0 ;
for (i=1;i<25;i++){
eval('acc1 += (h1'+i+'.value)');
}
F1_Flow = acc1; //(where F1_Flow is the script's point variable.)
Runtime Status shows its polling every minute but nothing is being saved in the variable history?
2017/04/10 22:07:00.000 1ms
2017/04/10 22:08:00.000 2ms
2017/04/10 22:09:00.000 2ms
2017/04/10 22:10:00.000 1ms
2017/04/10 22:11:00.000 1ms
2017/04/10 22:12:00.000 2ms
2017/04/10 22:13:00.000 2ms
2017/04/10 22:14:00.000 8ms
2017/04/10 22:15:00.000 4ms
2017/04/10 22:16:00.000 1ms
Any help appreciated.