gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ GSetServer()

void GSetServer ( string  server_name)
inline

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.

Definition at line 686 of file gclib.cs.

References G_NO_ERROR, GError(), and vector().

Referenced by Examples.Remote_Client().