| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ GSetServer()

void GSetServer | ( | string | server_name | ) |
| inline

Connects gclib to a new gcaps server

Parameters

  server_name | Name of the server to connect.

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

Exceptions

  System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib.

Definition at line 686 of file gclib.cs.

Referenced by Examples.Remote_Client().