Alams and Conditions : when a new execution starts, should the old acknowledged /inactive alarms needs to be cleared from queue?|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Alams and Conditions : when a new execution starts, should the old acknowledged /inactive alarms needs to be cleared from queue?
Avatar
kishore kumar mallipudi
Member
Members
Forum Posts: 13
Member Since:
01/07/2021
sp_UserOfflineSmall Offline
1
09/30/2021 - 23:10
sp_Permalink sp_Print

Hi All,

 

We have a server where we execute some methods. Based on some conditions we get the different types of alarms that are received by OPC UA and needs to be acknowledged to continue the run.

 

My question is, Do we need to clear the old inactive or acknowledged Alarms from queue when a new execution is started?

As of now the Alarms queue is maintaining the all list of all old acknowledged Alarms / inactive Alarms?

 

Thanks and Regards,

Kishore M

Avatar
Randy Armstrong
Admin
Forum Posts: 1579
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/01/2021 - 05:06
sp_Permalink sp_Print

It is up to the application to decide when it is appropriate to clear the alarm list they maintain.

Many applications will use ConditionRefresh to get the current list of alarms when they start. If you feel a “new execution” is equivalent to an application restart then you could clear the queue and call ConditionRefresh.

Avatar
kishore kumar mallipudi
Member
Members
Forum Posts: 13
Member Since:
01/07/2021
sp_UserOfflineSmall Offline
3
10/01/2021 - 05:11
sp_Permalink sp_Print sp_EditHistory

Thank You Randy Armstrong.

 

Its actually not application restart, but a new method execution will start.

Here the alarms are specific to that each method execution.

 

Thanks and Regards,

Kishore M

Avatar
Randy Armstrong
Admin
Forum Posts: 1579
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
10/01/2021 - 06:59
sp_Permalink sp_Print

There is no way to answer you query without a complete understanding of the product you are building and its requirements.

You need to make a decision based on the needs of the users of your application.

If the users need that list of expired alarms then you should keep it around. Otherwise, you can clear the list at each execution.

Avatar
kishore kumar mallipudi
Member
Members
Forum Posts: 13
Member Since:
01/07/2021
sp_UserOfflineSmall Offline
5
10/01/2021 - 07:03
sp_Permalink sp_Print

Thanks a lot Randy,

 

Regards,

Kishore M

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 26
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889