Logic Machine Forum
Show alert log in visu - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Show alert log in visu (/showthread.php?tid=711)



Show alert log in visu - Trond Hoyem - 31.03.2017

Hi

This may have been covered in other threads, but I have not been able to find it.

Is there a way to show the Alert log in the visualistaion in Schneider's SpaceLYnk? I know about the alert app for LM, but as I understand, this is not yet available for SL?


RE: Show alert log in visu - Erwin van der Zwart - 31.03.2017

Hi Trond,


Next FW we support this app, offcourse otherwise i wouldn't have build it (;

In a couple of weeks you can use it through the app store..

BR,

Erwin


RE: Show alert log in visu - Horazeta - 13.02.2022

Hello,
I've been looking for a way to do a pop up when an alert is triggered, but I havent found what I am looking for.

The goal is to have something similar toi the picture below, where the user can see that something is on alert no matter what page is he looking at (in the spacelynk of course)

   


RE: Show alert log in visu - Erwin van der Zwart - 14.02.2022

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