The EasyDAClient object is the main object that allows simple access to OPC DA servers. The following is a list of the most commonly used members, along with a brief description of their functionality.
For more information on other OPC DA classes view the DA Classes page.
Methods
BrowseBranches: Browses the specified branch in an OPC server’s address space and returns information about the child branches found
BrowseLeaves: Browses the specified branch in an OPC server’s address space and returns information about the child leaves found
BrowseNodes: Browses the specified branch in the OPC server’s address space and returns information about child nodes, including branches and leaves
BrowseServers: Browses the specified computer and returns information about OPC DA servers available.
ReadItem: Reads a named item from the OPC Server and returns Value, Quality, and Timestamp
ReadItemValue: Reads a named item from an OPC server and returns only the value
ReadMultipleItems: Reads named items from an OPC server and returns Value, Quality, and Timestamp
ReadMultipleItemValues: Reads named items from an OPC server and returns only the value
SubscribeItem: Subscribes to changes of a particular OPCItem. The ItemChanged event is generated for each significant item change
SubscribeMultipleItems: Subscribes to changes of multiple OPC items. The ItemChanged event is generated for each significant item change
WriteItem: Writes Value, Quality, and Timestamp into a named item in the OPC server
WriteItemValue: Writes the item value into a named item in an OPC server
WriteMultipleItems: Writes Value, Quality, and Timestamp into multiple items in an OPC server
WriteMultipleItemValues: Writes values only to multiple items in an OPC server
Events
ItemChanged: Raised for every significant change in an OPC item subscribed to
MultipleItemsChanged- Raised for significant changes in OPC items subscribed to by the SubscribeItem method.
P: 1-888-665-3678 (US-Sales) or 704-849-2773 (Support & International), F: 704-849-6388 148A East Charles Street, Matthews, North Carolina, USA 28105 Copyright Software Toolbox, Inc., 1996-2011, All Rights Reserved Worldwide.