dOPC Client Toolkit
Close
dOPCAE.TdOPCEventFilter.Categories

Categories contains a category filter, which means that only events of the specified categories will be reported.

property Categories: TStrings;
__property TStrings Categories;

If this string list is empty, the events of all categories will be reported. If you modify this collection while the control is connected to an OPC server, you need to call the Refresh method to apply the changes.

var Filter : TdOPCEventFilter; begin Filter := dOPCEventServer1.Filter[0]; //get first filter Filter.Categories.Clear Filter.Categories.Add('Category 1') Filter.Categories.Add('Category 2') Filter.Refresh; end;
Kassl GmbH Copyright © 2024. All rights reserved.