dOPC Client Toolkit Help file
TdOPCSvr Methods
TdOPCSvr Methods
TdOPCSvr Methods 
Description 
AcknowledgeAllEvents acknowledges all occurred events as the passed Who with the passed Comment. 
AcknowledgeEvents acknowledges the passed AckEvents as the passed Who with the passed Comment. 
AcknowledgeNotActiveEvents acknowledges all inactive events as the passed Who with the passed Comment. 
BeginUpdate should be called before making multiple changes to the events collection. 
BrowserSupport returns True if the server supports browsing, otherwise False
check if connected to server -> if not then raise an exception 
we get a new event from OPC server 
Connect establishes a connection to an OPC DA server. 
Disconnect disconnects from a connected OPC server. 
This is DoConnected, a member of class TdOPCEventServer. 
EndUpdate should be called after completing changes to the events collection that started with calling the BeginUpdate method. 
GetConditionState returns the TdOPCEventCondition from the passed Source for the passed ConditionName. 
get status information from OPC server (delphi types)
GetServerInfo provides global information about the server passed in the tServerStateRec parameter. 
Abstract method. 
GetState returns global information about the server. 
GetStatus retrieves the current status of the connection. 
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. 
QuerySourceConditions fills the Conditions parameter, presenting a list the list of available conditions of the passed Source. 
Refresh forces a refresh for all active conditions and inactive, unacknowledged conditions whose event notifications match the filter of the event subscription. 
Resort sorts the Events collection again (usually not necessary). 
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). 
SelectServer calls a modal dialog to select an OPC AE server and returns True if a server is selected, otherwise False
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.