Hi, I'm trying to configure the OMI Alarm App to follow context in historical alarm mode. If anyone have knowledge or examples to share it is highly appreciated.
Version 2023 P01.
Hi, I'm trying to configure the OMI Alarm App to follow context in historical alarm mode. If anyone have knowledge or examples to share it is highly appreciated.
Version 2023 P01.
You should not need to do much to follow the Context it does it out of the box > just confirm in your OMI page the follow context is ticked where you have added your alarm control.
should be pretty straightforward
Hi Rickard,
This is working when the alarm app is in mode 1 (Current alarms) or mode 2 (Recent alarms and Events). But when in mode 3-5 (Historical modes using history blocks), the alarm app is returning all alarms/events in the selected time frame. At least this is the behaviour in our 2023 P01 application.
It would be interesting to find out if this is an application problem or if it is a system problem.
It looks like you are using 2023 R2, can you confirm that its working as expected in this version?
Hi Kristian, I have same problem.
I have a Layout with the AlarmApp.AlarmControl in "Current Alarms" mode, and the scripts works for this mode like for example:
MyContent.AlarmControl1.AlarmQuery="\Galaxy!<MyArea>";
But I have an other Layout with the AlarmApp.AlarmControl in "Historical Alarms" mode, and the scripts don't work, even if I use the sql syntax that works in the in-built popup of the content at runtime.
It's like the function ALARMQUERY doesn't write in this mode.
Did you solve it?
Hi Luigi,
Yes, the "AlarmQuery" attribute only work in mode 1 and 2 ( Current and Recent Alarms). In this case the the alarm app is reading alarms directly from runtime alarm system.
If you are using the alarm app in mode 3-5 (Historical) the alarm app is reading from your historical source, Historian (History Blocks) in my case.
You can script the "Follow Context" behavior in historical mode accessing the built in query and filter functions in the alarm app. If you see my answer to IDO further up in this thread, where I explain how I got this to work.
Hi Luigi,
Yes, the "AlarmQuery" attribute only work in mode 1 and 2 ( Current and Recent Alarms). In this case the the alarm app is reading alarms directly from runtime alarm system.
If you are using the alarm app in mode 3-5 (Historical) the alarm app is reading from your historical source, Historian (History Blocks) in my case.
You can script the "Follow Context" behavior in historical mode accessing the built in query and filter functions in the alarm app. If you see my answer to IDO further up in this thread, where I explain how I got this to work.