![]() |
gclib 2.1.20
Galil Communications Library
|
Discover available controllers and open connections. More...
Classes | |
class | gclib |
Provides a class that binds to gclib's unmanaged dll. More... | |
Functions | |
string[] | gclib.GAddresses () |
Return a string array of available connection addresses. | |
void | gclib.GAssign (string ip, string mac) |
Assigns IP address over the Ethernet to a controller at a given MAC address. | |
void | gclib.GClose () |
Used to close a connection to Galil hardware. | |
string | gclib.GInfo () |
Provides a useful connection string. | |
string[] | gclib.GIpRequests () |
Provides a list of all Galil controllers requesting IP addresses via BOOT-P or DHCP. | |
void | gclib.GOpen (string address) |
Used to open a connection to Galil hardware. | |
void | gclib.GTimeout (Int16 timeout_ms) |
Set the timeout of communication transactions. | |
|
inline |
Return a string array of available connection addresses.
Wrapper around gclib GAddresses(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclibo_8h.html#a6a6114683ed5749519b64f19512c24d6 An empty array is returned on error.
|
inline |
Assigns IP address over the Ethernet to a controller at a given MAC address.
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
System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib. |
|
inline |
Used to close a connection to Galil hardware.
Wrapper around gclib GClose(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#a24a437bcde9637b0db4b94176563a052 Be sure to call GClose() whenever a connection is finished.
|
inline |
Provides a useful connection string.
Wrapper around gclib GInfo(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclibo_8h.html#a08abfcff8a1a85a01987859473167518
|
inline |
Provides a list of all Galil controllers requesting IP addresses via BOOT-P or DHCP.
Wrapper around gclib GIpRequests(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclibo_8h.html#a0afb4c82642a4ef86f997c39a5518952 An empty array is returned on error. Call will take roughly 5 seconds to return.
|
inline |
Used to open a connection to Galil hardware.
address | Address string including any connection switches. See gclib documentation for GOpen(). |
Wrapper around gclib GOpen(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#aef4aec8a85630eed029b7a46aea7db54
System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib. |
|
inline |
Set the timeout of communication transactions.
Use -1 to set the original timeout from GOpen().
timeout_ms | New timeout in miliseconds. |
Wrapper around gclib GTimeout(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclibo_8h.html#a179aa2d1b8e2227944cc06a7ceaf5640