OPCDA.NET Reference Manual
Quick Use Classes
Send comments on this topic.
OPCDA.NET Client Component > Application Development > Quick Use Classes

Glossary Item Box

This simple to use classes handle typical applications and quicken client development considerably.

The methods in these classes are not defined in the OPC standard.

Class Description
OpcServerBrowser

The method GetServerList browses the names of the registered OPC DA 2.0 servers and returns the ProgId of all OPCDA V2 servers in a string array. This array can e.g. be directly displayed in a Windows list or combobox control.
Defined in the namespace OPC.

BrowseTree This class contains item browse methods that working simplify the browsing of the OPC server's address space. No enumerators are required and the browse result is returned in a TreeNode array that can directly be used with a Windows TreeView control.
The server's address space organization is read and the browsing done accordingly.
Defined in the namespace OPCDA.NET.

ShowBrowseTree The OPC server is browsed and all branches and items are displayed in a TreeView control. Node images are displayed as shown in the picture. The user can select other images or supply his own ImageList.

ShowBrowseTreeList The OPC server is browsed and the branches are displayed in a TreeView control. The items of the selected branch are displayed in a ListView control. Node images are displayed as shown in the picture. The user can select other images or supply his own ImageList.

OpcDataBind Class for automatic display and refresh of item values in Windows controls.
The OpcDataBind class handles subscriptions, in which items are assigned to windows controls. The OpcDataBind class callback handler writes updated values into the Windows control without user program interaction. The user application can control the subscription by setting properties. The values can be specially formatted and altered by a linear transformation.

SyncIOGroup This class contains easy to use methods for synchronous read / write functions The class opens it's OPC group and adds items automatically at the first read or write function.
Defined in the namespace OPCDA.NET.
The user does not need to first add items to the group. The read/write functions add the item when it is accessed the first time.

RefreshGroup This class contains easy to use methods for asynchronous refresh. The class opens it's OPC group and activates a callback. Items need only be added to the group to be included in the periodic refresh.
Defined in the namespace OPCDA.NET.
The user does not need to first add items to the group. The read/write functions add the item when it is accessed the first time.


ItemListLoader This class contains methods to read the ItemListBuilder created XML configuration file into memory.
The file can be embedded in the application EXE or be a separate file.
The ItemListBuilder utility and the ItemListLoader class is only available in the OPCDA.NET Professional edition.

XmlIO This class contains methods to serialize and de-serialize OPCItemDef arrays.

 

 

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.