Hi all,

I have two numerical datapoints respecting to two values of temperature, so my goal it's to make an average for these two values

(value1+value2)/2. I have tried to create a script but it doesn't work

If someone have an idea i'll be greatfull !


thanks in advance


Hello there,

An easy solution is to create a Meta Data Source and then a Meta Data Point to calculate the average.

It´s script should be something like this...

return (p1.value+p2.value)/2;

So, p1 and p2 are the data points you have, declared in the context through the web interface. Should be easy, you can check the SW manual, It´s in portuguese, but the examples are clear ;)