30 int acc = 100 * speed;
42 Console.WriteLine(
"Begin Position Tracking with speed " + speed +
43 ". Enter a non-number to exit.\n");
49 Console.WriteLine(
"Enter a new position:");
50 bool ok =
int.TryParse(Console.ReadLine(), out position);
58 Console.WriteLine(
"Position Tracking has exited");
const int GALIL_EXAMPLE_OK
Examples success code.
string GCommand(string Command, bool Trim=true)
Used for command-and-response transactions.
void GMotionComplete(string axes)
Blocking call that returns once all axes specified have completed their motion.
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
static int Position_Tracking(gclib gclib, int speed)
Puts controller into Position Tracking Mode and accepts user-entered positions.