11 using System.Threading;
57 using (StreamReader reader =
new StreamReader(file))
61 Load_Buffer(
gclib, reader, capacity);
71 }
while (Load_Buffer(
gclib, reader, capacity));
80 private static bool Load_Buffer(
gclib gclib, StreamReader reader,
int capacity)
84 for (; capacity > 1; capacity--)
87 if ((s_cmd = reader.ReadLine()) !=
null)
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.
Int16 GCmdI(string Command)
Used for command-and-response transactions.
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
static int Vector_Mode(gclib gclib, string file)
Puts controller into Vector Mode and accepts a file defining vector points.