44 bool isJogging =
true;
47 Console.WriteLine(
"Enter a character on the keyboard to change the" +
48 " motor's speed:\n<q> Quit\n<a> -2000 counts/s\n" +
49 "<s> -500 counts/s\n<d> +500 counts/s\n<f> " +
50 "+2000 counts/s\n<r> Direction Reversal\n");
56 Console.WriteLine(
"Jog Speed: " + speed);
58 switch (Console.ReadKey(
true).Key)
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 Jog(gclib gclib)
Puts controller into Jog Mode and accepts user input to adjust the speed.