Top  | Previous | Next

system.opc.getServerState

Description

Retreives the current state of the given OPC server connection. If the given server is not found, the return value will be None. Otherwise, the return value will be one of these strings:

UNKNOWN

FAULTED

CONNECTING

CLOSED

CONNECTED

DISABLED

Syntax

system.opc.getServerState(opcServer)

Parameters

String opcServer - The name of an OPC server connection.

Returns

String - A string representing the current state of the connection, or None if the connection doesn't exist.

Scope

All