gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GSetServer()

void GSetServer ( string  server_name)

Connects gclib to a New gcaps server

Parameters
server_nameName of the server to connect.

Wrapper around gclib GSetServer(), Call GSetServer("Local") to connect gclib back to local gcaps server

Exceptions
System.ExceptionWill throw an exception if anything other than G_NO_ERROR Is received from gclib.