Logic Machine Forum
Problem with trends - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Problem with trends (/showthread.php?tid=5445)



Problem with trends - Kilogica - 30.05.2024

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?

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)



RE: Problem with trends - Daniel - 30.05.2024

What type of trend is this?


RE: Problem with trends - admin - 30.05.2024

Check this thread: https://forum.logicmachine.net/showthread.php?tid=5105&pid=33316#pid33316
Don't forget to make a backup before running this script.