3 Dim acc = 100 *
speed ' Set acceleration/deceleration to 100 times speed
15 Console.WriteLine("Begin Position Tracking with speed " + speed.ToString() +
16 ". Enter a non-number to exit.\n")
18 Dim position As Integer
22 Console.WriteLine(
"Enter a new position:")
25 If ok Then ' A Then valid position was provided
26 gclib.GCommand("PAA=" + position.ToString()) ' Go To New
position
27 Else 'A non-number was entered
28 Console.WriteLine("Position Tracking has exited")
35 Return GALIL_EXAMPLE_OK
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.