24 int rc = GALIL_EXAMPLE_OK;
32 std::cout <<
"Enter name of your server: ";
47 return GALIL_EXAMPLE_ERROR;
51 return GALIL_EXAMPLE_OK;
int GReturn
Every function returns a value of type GReturn. See gclib_errors.h for possible values.
#define G_SMALL_BUFFER
Most reads from Galil are small. This value will easily hold most, e.g. TH, TZ, etc.
int main(int argc, char *argv[])
Main function for Commands Example.
void error(GCon g, GReturn rc)
An example of error handling and debugging information.
int pause()
Pauses console apps for a user key stroke.
GReturn remote_server(const char *server_name)
Publishes local gcaps server to the network.
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.