Visavi Visual OPC .NET  

OpcServerState Enumeration

Indicates the current status of an OPC Server.

[Visual Basic]
 Public
   Enum OpcServerState
[C#]
 public enum OpcServerState
[C++]
 __value public enum
   OpcServerState

Members

Member Name Description
CommFault The server is running properly but is having difficulty accessing data from its data sources. This may be due to communication problems, or some other problem preventing the underlying device, control system, etc. from returning valid data. It may be complete failure, meaning that no data is available, or a partial failure, meaning that some data is still available. It is expected that items affected by the fault will individually return with a BAD quality indication for the items.
Failed A vendor specific fatal error has occurred within the server. The server is no longer functioning. The recovery procedure from this situation is vendor specific. An error code of E_FAIL should generally be returned from any other server method.
NoConfiguration The server is running but has no configuration information loaded and thus cannot function normally. Note this state implies that the server needs configuration information in order to function. Servers which do not require configuration information should not return this state.
Running The server is running normally. This is the usual state for a server
Suspended The server has been temporarily suspended via some vendor specific method and is not getting or sending data. Note that Quality will be returned as OPC_QUALITY_OUT_OF_SERVICE.
Test The server is in Test Mode. The outputs are disconnected from the real hardware but the server will otherwise behave normally. Inputs may be real or may be simulated depending on the vendor implementation. Quality will generally be returned normally.
Unknown The state of the server is unknown.

Requirements

Namespace: Visavi.Opc.Client

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

See Also

OpcServerState Members | Visavi.Opc.Client Namespace