Skip to main content
Version: 8.3 Beta 🚧

system.opchda.isServerAvailable

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​

TypeParameterDescription
StringserverNameThe name of the OPC-HDA server to check.

Returns​

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

Scope​

Gateway, Vision Client, Perspective Session

Code Examples​

Example #1
# This example will check to see if there is an OPC HDA server called "ServerName" available.
system.opchda.isServerAvailable(β€œServerName”)