dOPC Client Toolkit Help file
TdOPCSvr Methods
TdOPCSvr Methods
TdOPCSvr Methods 
Description 
check if connected to server -> if not then raise an exception 
Connect establishes a connection to an OPC DA server. 
Disconnect disconnects from a connected OPC server. 
GetItemProperty returns the current data value in the Value parameter for the item with the passed ItemId and the passed PropId. 
GetServerInfo provides global information about the server passed in the tServerStateRec parameter. 
Abstract method. 
GetState returns global information about the server. 
LoadFromFile loads the TdOPCSrv component from the file passed by the FromFile parameter and fills all properties, groups and items. 
LoadFromStream loads the TdOPCSrv component from the stream passed by the Stream parameter and fills all properties, groups and items. 
LookUpItemId returns an ItemID (if available) for the passed ItemID and the passed PropId. 
OPCServer returns the IdOPCDAConnection of the server. 
QueryAvailableProperties returns True if the Props parameter, representing a list of available properties on the server, could be filled for the passed ItemId, otherwise False
SaveToFile saves the TdOPCSrv component to the file passed by the ToFile parameter (including all properties, groups and items). 
SaveToStream saves the TdOPCSrv component to the stream passed by the Stream parameter (including all properties, groups and items). 
ServerTypeName returns the type of the OPC server as a string. 
Version2 returns True if the OPC server is OPC DA 2 server, otherwise False. 
Version3 returns True if the OPC server is OPC DA 3 server, otherwise False. 
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.