39 public static int Main(
string[] args)
44 if (args.Count() != 3)
46 Console.WriteLine(
"Incorrect number of arguments provided");
47 Console.WriteLine(
"Usage: record_position_example.exe <ADDRESS> <FILE A> <FILE B>");
49 Console.Write(
"\nPress any key to close the example");
56 string address = args[0];
57 string fileA = args[1];
58 string fileB = args[2];
75 Console.Write(
"\nPress any key to close the example");
static int Main(string[] args)
Main function for the contour example.
Record user's training and plays back training through contour mode.
static void PrintError(gclib gclib, Exception ex)
Prints the exception to the console and queries the controller for the most recent error message.
Provides a class of shared constants and methods for gclib's example projects.
const int GALIL_EXAMPLE_OK
Examples success code.
const int GALIL_EXAMPLE_ERROR
Examples error code.
void GOpen(string address)
Used to open a connection to Galil hardware.
void GClose()
Used to close a connection to Galil hardware.
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
static int Contour(gclib gclib, string fileA, string fileB)
Record user's training and plays back training through contour mode.