14 'Stores the available space of the vector buffer in the capacity variable
15 Dim capacity = gclib.GCmdI("MG _LMS")
16 Load_Buffer(gclib, reader, capacity)
18 Console.WriteLine("Begin Motion")
19 gclib.GCommand("BG S")
22 System.Threading.Thread.Sleep(100)
24 'Stores the available space of the vector buffer in the capacity variable
25 capacity = gclib.GCmdI("MG _LMS")
26 Loop While Load_Buffer(gclib, reader, capacity)
30 Console.WriteLine(
"Motion Complete")
38 'Fully load the vector buffer leaving room for one VE command
39 For i = capacity To 1 Step -1
43 'Run the command on each line of the text file
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 commands(GCon g)
Demonstrates various uses of GCommand() and GUtility().
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.