10.04.2017, 19:39
(This post was last modified: 10.04.2017, 22:26 by Erwin van der Zwart.)
Hi,
Try this:
for i = 0, 255, 1 do
actual_value = grp.getvalue('3/0/' .. i)
start_month = grp.getvalue('3/1/' .. i)
current_month = actual_value - start_month
grp.update('3/2/' .. i, current_month)
os.sleep(0.2)
end
BR,
Erwin
Try this:
for i = 0, 255, 1 do
actual_value = grp.getvalue('3/0/' .. i)
start_month = grp.getvalue('3/1/' .. i)
current_month = actual_value - start_month
grp.update('3/2/' .. i, current_month)
os.sleep(0.2)
end
BR,
Erwin