gclib  2.0.8
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
ipThe ip address to assign. The hardware should not yet have an IP address.
macThe 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.ExceptionWill throw an exception if anything other than G_NO_ERROR is received from gclib.