Page 2 of 2

Re: temperature average day

Posted: Sun Jun 01, 2014 2:59 pm
by Pik
I got it !

for count, I have : "Main.SetglobalVar("Temp_n".str(1+val(Var_temp_n)))"
for sum, I have : "Main.setGlobalVar("Temp_somme", str(val(Var_Temp_somme)+val(Dev_36_value1)))"
for average, I have : "Main.setGlobalVar("Temp_average", str(val(Var_Temp_somme)/val(Var_Temp_n)))"

In fact, I was runnig the action in Action menu (when you open Event menu, you have actions list available).
When I launch the action (right clic on action and Run) this is doing nothing !
I checked with a light, and each time I right clic on Run (action), no switch On/Off.
Now, I check my script running the event.

So, I was checking my script running action but I could wait for long time !

Anyway, I have to thank you very much for your help because you gave me explanations on this vocabulary to use.

Regards.

Re: temperature average day

Posted: Sun Jun 01, 2014 7:06 pm
by Pik
Post closed