gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ position_tracking()

GReturn position_tracking ( GCon  g,
int  speed = 5000 
)

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

Parameters
gConnection's handle.
speedOptional speed of the controller in Position Tracking Mode. Default value of 5000.
Returns
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(), GMotionComplete(), and vector().