OPCDA.NET Reference Manual
OpcDataBind Class Members
See Also  Properties  Methods  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace : OpcDataBind Class


Glossary Item Box

The following tables list the members exposed by OpcDataBind.

Public Constructors

 NameDescription
Public ConstructorOpcDataBind ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyActive Active state of the OPC group handling the callback. Callbacks can be inactivated if e.g. the associated window is not visible. When set to true, the OPC server makes a callback for all items. If the state changes to active then the server makes a callback for all defined subsriptions.  
Public PropertyOpcSrv OPC server object for access to lower level OPC server access methods.  
Public PropertyRefreshGrp Refresh group object allowing access to the underlying RefreshGroup object.  
Public PropertyUpdateRate Fastest server callback intervall.  
Public PropertyUserCallbackErrorHandler DEPRECIATED! This handler is called if an exception happens in the DataBind callback handler. Use UserCallbackErrorHandler2 instead. It passes the error causing subscription to the user handler for better error diagnostics.  
Public PropertyUserCallbackErrorHandler2 This handler is called if an exception happens in the DataBind callback handler Use this handler instead of UserCallbackErrorHandler. It passes the error causing subscription to the user handler for better error diagnostics.  
Public PropertyUserCallbackHandler This handler is called at the beginning of the handling of server callback with changed values. The handler should return TRUE if the item value has been processed or return FALSE to have the DataBind standard handlers to process the item value.  
Top

Public Methods

 NameDescription
Public MethodArrayToMultiLineStringThis method is intended for use in DataBind Extension callback handlers.
The array type item value is converted into a string with one value per line.  
Public MethodArrayToStringArrayThis method is intended for use in DataBind Extension callback handlers.
The array type item value is converted into a string array with a string converted value for each array element.  
Public MethodCheckServer The server connection is checked by making a GetStatus server call.  
Public MethodDisconnect Cleanup and disconnect from OPC server  
Public MethodDispose Stop and dispose the associated Refresh OPC group. The OPC server is NOT disconnected.  
Public MethodHandleListViewControlThis method is intended for use in DataBind Extension callback handlers.
This method write arrays vertically. It is called from the ListView type handler. The ListViewItemCollection or ListViewSubItemCollection types have to used to write arrays horizontally.  
Public MethodListToMultiLineStringThis method is intended for use in DataBind Extension callback handlers.
The array type item value is converted into a string with one value per line.  
Public MethodListValToArrayVal  
Public MethodRefresh Force a callback with values of all items.  
Public MethodRefreshCancel Cancel the current Refresh request. The call is ignored if there is no current request.  
Public MethodSubscribeOverloaded.  Create a DataBind subscription for one item. The item is added to the refresh group and the internal callback handler will write new values to the specified control.  
Public MethodTransformThis method is intended for use in DataBind Extension callback handlers.
Transform the value if it's a numeric type. The tarnsformation is done with the parameters defined int the DataBind Format definition.  
Public MethodValueToStringThis method is intended for use in DataBind Extension callback handlers.
Converts the item value object into a string. The optional format specifications and linear transformation are applied.  
Top

See Also

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