Visavi Visual OPC .NET  

OpcBarmeter Class

Represents a barmeter (thermometer-like control) that binds to an OPC item.

For a list of all members of this type, see  OpcBarmeter Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.UserControl
                    Visavi.Opc.Client.Forms.OpcControl
                      Visavi.Opc.Client.Forms.OpcBarmeter

[Visual Basic]
 Public Class OpcBarmeter
   Inherits OpcControl
[C#]
 public class OpcBarmeter: OpcControl
[C++]
 public __gc class OpcBarmeter : public OpcControl
[JScript]
public class OpcBarmeter extends OpcControl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

The OpcBarmeter control displays the value of an OPC item graphically. It has a thermometer-like look and the range of the barmeter is configurable. It has a built in scale that can be shown on either side of the meter, both, or neither. It can be configured to be displayed vertically or horizontally. The barmeter control is inherently read-only; its counter-part, the OpcTrackBar, could be used for a graphical read-write control.

The OpcBarmeter class provides properties that specify to which OPC Server to connect, when to connect to that server, and the OPC groups to add to the server after the connection is made. The ServerIdentifier property identifies the server to which the connection will be made. Using the designer's property grid, you may browse your network for the server, or you may type in a URI type string that identifies the server. The ConnectionScheme property determines when the client connects to the server (i.e. Runtime only, Design-time only, Manually, etc.). The ItemID is the OPC item to which when the connection with the OPC Server is made. After selecting the server, you may browse for the item using the designer's property grid.

Requirements

Namespace: Visavi.Opc.Client.Forms

Platforms:  Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

Assembly: Visavi.Opc.Client.Forms

See Also

OpcBarmeter Members | Visavi.Opc.Client.Forms Namespace