31 public static int Main(
string[] args)
34 gclib gclib =
new gclib();
38 if (args.Count() != 1)
40 Console.WriteLine(
"Incorrect number of arguments provided");
41 Console.WriteLine(
"Usage: jog_example.exe <ADDRESS>");
43 Console.Write(
"\nPress any key to close the example");
48 string address = args[0];
65 Console.Write(
"\nPress any key to close the example");
static int Jog(gclib gclib)
Puts controller into Jog Mode and accepts user input to adjust the speed.
const int GALIL_EXAMPLE_OK
Examples success code.
Accepts user-input at the command line to control the speed of the controller in Jog mode.
static void PrintError(gclib gclib, Exception ex)
Prints the exception to the console and queries the controller for the most recent error message.
static int Main(string[] args)
Main function for the jog example.
Provides a class of shared constants and methods for gclib's example projects.
const int GALIL_EXAMPLE_ERROR
Examples error code.