gclib  1.37.6
Communications API for Galil controllers and PLCs

◆ position_tracking()

GReturn position_tracking ( GCon  g,
int  speed = 5000 

Puts controller into Position Tracking Mode and accepts user-entered positions.

gConnection's handle.
speedOptional speed of the controller in Position Tracking Mode. Default value of 5000.
The success status or error code of the function. See gclib_errors.h for possible values.

See position_tracking_example.cpp for an example.

Definition at line 15 of file position_tracking.cpp.

References e(), G_CONNECTION_NOT_ESTABLISHED, G_SMALL_BUFFER, GCmd(), and GMotionComplete().