Provides a class of shared constants and methods for gclib's example projects.
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
GCLIB_DLL_EXPORTED GReturn GCALL GClose(GCon g)
Closes a connection to a Galil Controller.
GCLIB_DLL_EXPORTED GReturn GCALL GCommand(GCon g, GCStringIn command, GBufOut buffer, GSize buffer_len, GSize *bytes_returned)
Performs a command-and-response transaction on the connection.
GCLIB_DLL_EXPORTED GReturn GCALL GOpen(GCStringIn address, GCon *g)
Open a connection to a Galil Controller.
void error(GCon g, GReturn rc)
An example of error handling and debugging information.
GReturn commands(GCon g)
Demonstrates various uses of GCommand() and GUtility().
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.
int Main()
Main function for the commands example.