This function is used in Python Scripting.

Description

Checks to see if the specified OPC-HDA server is defined, enabled, and connected.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.opchda.isServerAvailable()

  • Parameters

String serverName - The name of the OPC-HDA server to check.

  • Returns

Boolean - True if the server is available and can be queried, false if not.

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
# This example will check to see if there is an OPC HDA server called "ServerName" available.
system.opchda.isServerAvailable(“ServerName”)
Keywords

system opchda isServerAvailable, opchda.isServerAvailable