38 public static int Main(
string[] args)
41 gclib gclib =
new gclib();
47 Console.WriteLine(
"Incorrect number of arguments provided");
48 Console.WriteLine(
"Usage: record_position_example.exe <ADDRESS> <FILE A> <FILE B>");
50 Console.Write(
"\nPress any key to close the example");
55 string address = args[0];
56 string fileA = args[1];
57 string fileB = args[2];
74 Console.Write(
"\nPress any key to close the example");
const int GALIL_EXAMPLE_OK
Examples success code.
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.
static int Record_Position(gclib gclib, string fileA, string fileB)
Record user's training and saves to a text file.
const int GALIL_EXAMPLE_ERROR
Examples error code.
Takes two file paths at the command line to hold positional data for Axis A and Axis B....
static int Main(string[] args)
Main function for the Record Position example.