![]() |
gclib 2.4.0
Galil Communications Library
|
For backwards compatibility with gclib 2.2.1 and below. More...
Topics | |
| Connection | |
| Discover available controllers and open connections. | |
| Controller | |
| Manage a Galil controller. | |
| Galil Connect | |
| Host or connect to a remote gcaps instance. | |
Functions | |
| GCLIB_DEPRECATED void | GSleep (unsigned int timeout_ms) |
| GCLIB_DEPRECATED GReturn | GVersion (GCStringOut ver, GSize ver_len) |
| Uses GUtility(), G_UTIL_VERSION and G_UTIL_GCAPS_VERSION to provide the library and gcaps version numbers. | |
| GCLIB_DEPRECATED void | GError (GReturn rc, GCStringOut error, GSize error_len) |
| Provides a human-readable description string for return codes. | |
For backwards compatibility with gclib 2.2.1 and below.
| GCLIB_DEPRECATED void GSleep | ( | unsigned int | timeout_ms | ) |
| timeout_ms | The timeout, in milliseconds, to block before returning. |
See GWaitForBool() for an example.
| GCLIB_DEPRECATED GReturn GVersion | ( | GCStringOut | ver, |
| GSize | ver_len ) |
Uses GUtility(), G_UTIL_VERSION and G_UTIL_GCAPS_VERSION to provide the library and gcaps version numbers.
| ver | Buffer to hold the output string. Buffer will be null terminated, even if the data must be truncated to do so. |
| ver_len | Length of buffer. |
The version number of gclib is provided first. If the gcaps server can be found, its version will be provided after a space.
Example with gcaps version.
154.190.329 1.0.0.82
Example with gclib version only.
154.190.329
| GCLIB_DEPRECATED void GError | ( | GReturn | rc, |
| GCStringOut | error, | ||
| GSize | error_len ) |
Provides a human-readable description string for return codes.
| rc | The return code to lookup. |
| error | The buffer to fill with the error text. Buffer will be null terminated, even if the data must be truncated to do so. |
| error_len | The length of the error buffer. |