dOPC Client Toolkit
Close
dOPCDA.TdOPCDAClient.GetItemProperty

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);
Parameters
Description
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.