The following tables list the members exposed by OpcDataBind.
Name | Description | |
---|---|---|
OpcDataBind Constructor | Overloaded. |
Name | Description | |
---|---|---|
Active | 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. | |
OpcSrv | OPC server object for access to lower level OPC server access methods. | |
RefreshGrp | Refresh group object allowing access to the underlying RefreshGroup object. | |
UpdateRate | Fastest server callback intervall. | |
UserCallbackErrorHandler | 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. | |
UserCallbackErrorHandler2 | 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. | |
UserCallbackHandler | 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. |
Name | Description | |
---|---|---|
ArrayToMultiLineString | This 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. | |
ArrayToStringArray | This 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. | |
CheckServer | The server connection is checked by making a GetStatus server call. | |
Disconnect | Cleanup and disconnect from OPC server | |
Dispose | Stop and dispose the associated Refresh OPC group. The OPC server is NOT disconnected. | |
HandleListViewControl | This 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. | |
ListToMultiLineString | This 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. | |
ListValToArrayVal | ||
Refresh | Force a callback with values of all items. | |
RefreshCancel | Cancel the current Refresh request. The call is ignored if there is no current request. | |
Subscribe | Overloaded. 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. | |
Transform | This 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. | |
ValueToString | This 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. |