OPC Foundation
  • Documents
  • NodeSets
  • Search
B.1.3 Example 2

As another example a filter to select all SystemEvents (including derived types) that are contained in the Area1 View or the Area2 View would result in a logic tree as shown in Figure B.2 and a ContentFilter as shown in Table B.2.

image044.png

Figure B.2 – Filter Logic Tree Example

Table B.2 describes the elements, operators and operands used in the example.

Table B.2 – ContentFilter Example

Element[]

Operator

Operand[0]

Operand[1]

0

And

ElementOperand = 1

ElementOperand = 4

1

Or

ElementOperand = 2

ElementOperand = 3

2

InView

AttributeOperand = NodeId: Area1, BrowsePath: ".", Attribute: NodeId

3

InView

AttributeOperand = NodeId: Area2, BrowsePath: ".", Attribute: NodeId

4

OfType

AttributeOperand = NodeId: SystemEventType, Brow"sePath: ".", Attribute: NodeId”

Please report errors or issues with the site to webmaster.

Copyright © 2023 - OPC Foundation