#include "gclibo.h"
Go to the source code of this file.
Functions | |
void GCALL | GSleep (unsigned int timeout_ms) |
Uses GUtility() and `G_UTIL_SLEEP` to provide a blocking sleep call which can be useful for timing-based chores. | |
GReturn GCALL | GVersion (GCStringOut ver, GSize ver_len) |
Uses GUtility() and `G_UTIL_VERSION` to provide the library version number. | |
GReturn GCALL | GInfo (GCon g, GCStringOut info, GSize info_len) |
Uses GUtility() and `G_UTIL_INFO` to provide a useful connection string. | |
GReturn GCALL | GAddresses (GCStringOut addresses, GSize addresses_len) |
Uses GUtility() and `G_UTIL_ADDRESSES` to provide a listing of all available connection addresses. | |
GReturn GCALL | GTimeout (GCon g, short timeout_ms) |
Uses GUtility() and `G_UTIL_TIMEOUT_OVERRIDE` to set the library timeout. | |
GReturn GCALL | GAssign (char *ip, char *mac) |
Assigns IP address over the Ethernet to a controller at a given MAC address. | |
GReturn GCALL | GIpRequests (GCStringOut requests, GSize requests_len) |
Provides a list of all Galil controllers requesting IP addresses via BOOT-P or DHCP. | |
GReturn GCALL | GCmd (GCon g, GCStringIn command) |
Wrapper around GCommand for use when the return value is not desired. | |
GReturn GCALL | GCmdT (GCon g, GCStringIn command, GCStringOut trimmed_response, GSize response_len, GCStringOut *front) |
Wrapper around GCommand that trims the response. | |
GReturn GCALL | GCmdI (GCon g, GCStringIn command, int *value) |
Wrapper around GCommand that provides the return value of a command parsed into an int. | |
GReturn GCALL | GCmdD (GCon g, GCStringIn command, double *value) |
Wrapper around GCommand that provides the return value of a command parsed into a double. | |
GReturn GCALL | GMotionComplete (GCon g, GCStringIn axes) |
Blocking call that returns once all axes specified have completed their motion. | |
GReturn GCALL | GRecordRate (GCon g, double period_ms) |
Sets the asynchronous data record to a user-specified period via `DR`. | |
GReturn GCALL | GProgramDownloadFile (GCon g, GCStringIn file_path, GCStringIn preprocessor) |
Program download from file. | |
GReturn GCALL | GProgramUploadFile (GCon g, GCStringIn file_path) |
Program upload to file. | |
void GCALL | GError (GReturn rc, GCStringOut error, GSize error_len) |
Provides a human-readable description string for return codes. |
Partial implementation of gclibo.h
Definition in file gclibo.c.