Monitor Events

Support creation of MonitoredItems for an "EventNotifier Attribute" for the purpose of Event Notification. The subscription includes supporting a filter that includes SimpleAttribute Operands and a select list of Operators. The list of Operators includes: Equals, IsNull, GreaterThan, LessThan, GreaterThanorEqual, LessThatorEqual, Like, Not, Between, InList, And, Or, Cast, BitwiseAnd, BitwiseOr.


Questions? Contact us
Generated: 21/11/2021 at 17:21:20 p.m.
Monitor Events - 6 Test Cases
Test Case Id Test Type Keywords Test Case Description Test Requirements Expected Result

001

CTT Specify the server object to monitor, while specifying an EventFilter where:
* Severity is greater than 300.
Note: The test script may be required to Invoke writes or calls to raise events.
Service result is `Good`.
Operation level results are `Good`, except operation can be `Bad_MonitoredItemFilterUnsupported` if not supported by the Server.
Verify the events are raised for each data change incurred.

002

CTT Specify the server object to monitor, while specifying an EventFilter where:
* AttributeId: is .Value (13)
* NodeId: any valid node of type Array.
Invoke writes or calls to raise events outside of the filter. For example, if the array is 5 elements long, specify an IndexRange of `2:3` and then write values to elements 0, 1 and 5.
ServiceResult=`Good`.
Verify that no events are raised.

003

CTT Specify the server object to monitor, while specifying an EventFilter where: attributeId is DisplayName.
Invoke writes to 3 different Nodes (DisplayName attribute).
ServiceResults are `Good` for all calls.
However, ServiceResult may also be `Bad_NotWritable` or `Bad_NotSupported`.
Verify that an event for each node written to is received.

004

CTT Unavailable  Specify the server object to monitor, while specifying an EventFilter where:
* AttributeId: is .Value (13)
* NodeId: any valid node of type Array.
Invoke writes or calls to raise events inside of the filter.
For example, if the array is 5 elements long, specify an IndexRange of `2:3` and then write values to elements 2 and 3.
ServiceResult=`Good`.
Verify the events are raised for each data change incurred.

Err-001

CTT CreateMonitoredItems()  Within an item, specify an EventFilter filter, on a Node that does not support events
ServiceLevel: `Good`
OperationLevel: Bad_FilterNotAllowed.

Err-002

CTT Unavailable  CreateMonitoredItems()  Within an item, specify an EventFilter filter, on a server that does not support events.
ServiceLevel: `Good`
OperationLevel: Bad_ MonitoredItemFilterUnsupported.