| gclib 1.34.15 Communications API for Galil controllers and PLCs |

## ◆ contour()

GReturn contour | ( | GCon | g,
|  | char * | fileA,
|  | char * | fileB
| ) |  |

Record user's training and plays back training through contour mode.

Parameters

  g | Connection's handle.
  fileA | A Path to a text file where training for Axis A will be recorded.
  fileB | A Path to a text file where training for Axis B will be recorded.

Returns
  The success status or error code of the function. See gclib_errors.h for possible values.

See contour_example.cpp for an example.

Definition at line 20 of file contour.cpp.

References csv_to_vector(), e(), G_SMALL_BUFFER, GCmd(), GMotionComplete(), and record_position().