Features, discussions, tips, tricks, questions, problems and feedback

Alarm priority coloring

Hi!
I want to color a frame around an agent in a graphic form in alarmstate but don’t seems to get hold of the priority. I found the statusAlarmsActive slot so I can get the frame red for example but how do I get another color depending on priority?

Priority of alarm is not part of alarmed agent itself but rather part of alarm definition in alarm agent. You would need to read in script that information and then based on that take action. Check example of getting priority of alarms from here: