This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Take object and record on new object
#2
Hi,
I'd probably do it something like this:
Tag both Powerin and powerout objects with something like COP and have the script execute if the group is triggered.

Powerin = grp.getvalue('1/1/2')
Powerout = grp.getvalue('3/1/5')
COP = Powerout / Powerin
if COP > 0 then grp.checkwrite('2/0/157', COP, 1)
end
Reply


Messages In This Thread
RE: Take object and record on new object - by Seijboldt - 18.01.2021, 06:44

Forum Jump: