Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_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: 353
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.opcfoundatio…..rt9/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.opcfoundatio…..rt9/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:
Guest(s) 21
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 734
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6516
Newest Members:
basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin, Brett.Rollason
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1045, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1