30.05.2024, 15:10
Good evening,
I can't understand what happen to my trends, a totally incorrect data and also the transition from uint to float.
Let's talk about the last column which is the sum of the previous 9 columns. The sum is done by an event script that I attached.
Do you have any suggestions?
Are the trends data editable manually for change the wrong data?
And if it is possible to change the data what program can i use for modify .trend?
I can't understand what happen to my trends, a totally incorrect data and also the transition from uint to float.
Let's talk about the last column which is the sum of the previous 9 columns. The sum is done by an event script that I attached.
Do you have any suggestions?
Are the trends data editable manually for change the wrong data?
And if it is possible to change the data what program can i use for modify .trend?
Code:
-- acquisizione energia ad ogni variazione
sirio1 = grp.getvalue('40/0/74')
sirio2 = grp.getvalue('40/1/74')
sirio3 = grp.getvalue('40/2/74')
sirio4 = grp.getvalue('40/3/74')
sirio5 = grp.getvalue('40/4/74')
sirio6 = grp.getvalue('40/5/74')
sirio7 = grp.getvalue('40/6/74')
sirio8 = grp.getvalue('40/7/74')
sirio9 = grp.getvalue('41/0/74')
-- somma energia
sum1 = sirio1 + sirio2 + sirio3 + sirio4 + sirio5
sum2 = sirio6 + sirio7 + sirio8 + sirio9
tot = sum1 + sum2
grp.write('63/7/2', tot)