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.

Pop-Up Window
#1
HI!
I need create a window pop-up when the bit object change their state in the same page of visualitzation.
If the state is 1, the pop-up window show a one notification (ex: NOTIFICATION1) and if the state is 0 the pop-up window show an other notification (ex: NOTIFICATION2)
The notifications it's like image.
Thanks

[Image: X16CV.png]
Reply
#2
You can Alerts for that. First, you need to enable "Show alerts in Usermode" in Utilities > Vis. configuration. Then create a script attached to the required object:
Code:
value = event.getvalue()
if value then
  alert('value is 1')
else
  alert('value is 0')
end
Reply


Forum Jump: