dOPC Client Toolkit

return the value of a item property

function GetItemProperty(ItemId: string; PropId: integer; var Value: OPCVariant): boolean;
__fastcall boolean GetItemProperty(AnsiString ItemId, int PropId, OPCVariant Value);
ItemId: string
Unique Id of the items
PropId: integer
Number of the property of UA look at: TuaAttributes class

result: true if operation is successful

A OPC item has depending on the specification a lot of properties. With this method you can the value of one item property.

Kassl GmbH Copyright © 2024. All rights reserved.