| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ GAssign()

void GAssign | ( | string | ip,
|  | string | mac
| ) |  |

Assigns IP address over the Ethernet to a controller at a given MAC address.

Parameters

  ip | The ip address to assign. The hardware should not yet have an IP address.
  mac | The MAC address of the hardware.

Wrapper around gclib GAssign(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclibo_8h.html#acc996b7c22cfed8e5573d096ef1ab759

Exceptions

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