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.

Check group status one time in resident script
#4
Hi,

Just attach this as event based script to your object 1/1/6, it will be triggered on every event update / change so there is no need to cyclic check the object:
Code:
value = event.getvalue()
if value == true then
  alert('Fire alarm received')
else
  alert('Fire alarm not active')
end
BR,

Erwin
Reply


Messages In This Thread
RE: Check group status one time in resident script - by Erwin van der Zwart - 23.10.2017, 20:39

Forum Jump: