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β
Type | Parameter | Description |
---|---|---|
String | serverName | The 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β)