EventSourceNameFilter
- Last UpdatedSep 05, 2025
- 1 minute read
- PI System
- Adapter for OPC UA 1.6
- Adapters
You can use the eventSourceNameFilter parameter to specify a filter to limit the scope of events generated to a source node. The default filter is empty which denotes the entire server.
Note: The filter mimics the behavior of the case sensitive Like operator to perform wildcard comparisons of the Source Name.
As described in Part 4, Section 7.7.3 of the OPC Foundation specification, supported characters include:
|
Wildcard character |
Description |
|---|---|
|
% |
Match any string of zero or more characters. For example, "main%" would match any string that starts with "main". Additionally, "5[%]" would match "5%". |
|
_ |
Match any single character. For example, "_ould" matches with "would" and "could". |
|
\ |
Escape character allows literal interpretation. For example, "\%" is "%", |
|
[ ] |
Matches any single character in a list. For example, "abc[x-z]" would match "abcx", "abcy", and "abcz". |
|
[^] |
Does not match a single character in a list. The ^ should be the first character inside the brackets. For example, "xyz[^a-c] would not match "xyza", "xyzb", and "xyzc" |
When the eventSourceNameFilter parameter is specified, the adapter performs a pattern match of the specified string against the Source Name of the source node on which the events are triggered.
|
Parameter |
Required |
Type |
Description |
|---|---|---|---|
|
eventSourceNameFilter |
Optional |
string |
A filter to limit the scope of event type to a source. If empty, source will be entire Server. Note: This parameter is case sensitive. |
For additional information, see Configure data selection.