Server Functions

Server functions allow you to create a script that interacts with the database by:

As the Server functions need to interact with the database, they can only be completed successfully if there is a healthy connection between the client on which the script is running and the server. The connection is made via the XML server using HTTPS Port 443 (by default) so that scripts can run correctly on both ViewX and Virtual ViewX clients. The Port address can be changed via the Server Configuration Tool (see WebX Server Settings (Original WebX) in the Geo SCADA Expert Guide to Server Administration).

The Server functions that are available for you to use in your scripts are:

Each of the Server functions references a Server object, which means that in your script you will need to use the following format to reference them:

Server.<function name>


The Server object also has properties that can be referenced in your script (see Server Properties).


Disclaimer

Geo SCADA Expert 2022