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.

Show alert log in visu
#4
You can do that by enabling this setting:

Utilities -> Vis Configuration -> Enable the checkbox: Show alerts in visualization

With script you can activate the alert by using something like this:
Code:
value = event.getvalue()
if value > 26 then
   alert("The temperature level is too high: " .. value)
end

-- or more detailed

thisobject = grp.find(event.dst)
if thisobject.value > 26 then
   alert("The temperature level in room " .. thisobject.name .. " is too high: " .. thisobject.value)
end
Reply


Messages In This Thread
Show alert log in visu - by Trond Hoyem - 31.03.2017, 06:59
RE: Show alert log in visu - by Horazeta - 13.02.2022, 19:35
RE: Show alert log in visu - by Erwin van der Zwart - 14.02.2022, 07:20

Forum Jump: