Script

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

regards

 

if u do it in Meta Data Source, first u must add the related data point. Each data point has it's variable, eg p1,p2,p3

U must use that as ur varible in script. Can't use the data point name. Then,

a=p1.value;

b=p2.value;

c=(a+b)/2;

return c;