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");
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...
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.
static int Jog(gclib gclib)
Puts controller into Jog Mode and accepts user input to adjust the speed.