

10:20, EET

Moderators
February 11, 2020

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.
1 Guest(s)
