gclib examples  0
Example Projects for the Communications API for Galil controllers and PLCs

◆ record_position()

GReturn record_position ( GCon  g,
char *  fileA,
char *  fileB 
)

Record user's training and saves to a text file.

Parameters
gConnection's handle.
fileAA Path to a text file where training for Axis A will be recorded
fileBA 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 record_position_example.cpp for an example.

Definition at line 16 of file record_position.cpp.

References e(), and write_array_to_file().

Referenced by contour().