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

Glossary Item Box

The BGDataBind class simplifies refresh handling. It's available in the OPCDA.NET Professional Edition only.
DataBind subscriptions can be defined to bind OPC server items to Windows controls. Item value changes are written directly to properties of the bound Windows controls or user classes. This class executes the Subscribe handling in a background thread to prevent a blocking of the user interface thread. The data change callback handling is the same as with the OpcDataBind class.

This class does not have a public constructor. Instances are created by calling the BGServer.AddDataBind method.
This class can only be used from classes that derive from System.Windows.Forms.Form. The completion notification with the browse result is synchronized with the user interface thread by internally calling Form.BeginInvoke().

Each server access is timeout checked. On timeout the BGServer GeneralError handler is called to inform the user application. The server access thread may continue to wait for the server call to finish or timeout. Further requests are not being handled before this happens.

Object Model

BGDataBind Class

Syntax

Visual Basic (Declaration) 
Public Class BGDataBind 
C# 
public class BGDataBind 

Inheritance Hierarchy

System.Object
   OPCDA.NET.BGDataBind

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

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