Understanding Client - System and Server Advise Connections

A ViewX client connects to Geo SCADA Expert server via two types of connection:

Using two connections has a major benefit—it reduces the overhead on network resources. As the server can send unsolicited updates to the client via the server advise connection, it means that the client does not have to continuously poll the server for updates. Obviously, this results in less traffic between the client and server which frees up network resources.

Both of the connections are established when ViewX is run on a client. The procedure for establishing the connections is:

  1. ViewX is run on the client.
  2. The client checks which of its incoming ports are available and then chooses one of the ports (the default range of incoming ports is 5500 to 5509, but these can be altered via the Sockets setting during the client configuration (see Change the Range of Ports for the Client’s Incoming Data)). The port that is chosen is the port that will be used to receive data via the server advise connection.

    ATTENTION: If the ports in the defined Sockets range are in use by other applications, the client will use another available port. If a firewall is in place between the client and server, this may cause the connection attempt to fail.

  3. The client transmits a message to the server. The transmission is sent to the server’s incoming data port which is port 5481 by default (but this can be changed in the server configuration, see Configure the Main and Backup Connections in the Geo SCADA Expert Guide to Server Administration).
  4. When the server receives the transmission from the client, it admits the transmission and establishes the client - system connection. The transmission from the client contains information about the client’s incoming data port and the server uses this information to establish the server advise connection (it is the port chosen in step 2 of this procedure).
  5. The server transmits a message to the client’s incoming data port to establish the server advise connection.

When both the client-server and the server advise connections have been established, the system is shown as 'Online' in ViewX's Database bar and you can begin to work on the client.

If you have run ViewX and the system remains 'Offline', Geo SCADA Expert may have detected a problem with the client-server connection or the server advise connection. For more information, see Failed Client - System and Server Advise Connections.


Disclaimer

Geo SCADA Expert 2019