sayenerji - 2019-03-23

I have value from sensor. This value is constantly changing. I would like to collect this value periodically every hour. But the collection process takes place more than once.

sensor_value:=from_sensor;

total_value:=total_value+sensor_value;

I waiting your help.Thank you.