Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Acknowledge alarm from ua client
November 3, 2021
11:44, EET
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

Hi,
how acknowledge alarm from ua client and generate event using prosys opc ua sdk ?

thanks

November 4, 2021
10:20, EET
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 349
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

You can acknowledge an Alarm by calling its Acknowledge Method with client.call(alarmId, Identifiers.AcknowledgeableConditionType_Acknowledge, eventId, comment) where client is an UaClient, alarmId is the NodeId of the alarm, eventId is the EventId of the alarm as ByteString and comment is your comment as LocalizedText. See https://reference.opcfoundation.org/Core/docs/Part9/5.7.3/ for more information on the Acknowledge Method.

To get the NodeId of the alarm, you will need to add the SimpleAttributeOperand specified in https://reference.opcfoundation.org/Core/docs/Part9/5.5.2/ to your SelectClauses. You will also need to include EventId in your SelectClauses to have the Server send it in notifications. See SampleConsoleClient for an example of creating an EventFilter and its SelectClauses.

See SampleConsoleServer for an example of generating Events.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 728

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1