| gclib 1.34.15 Communications API for Galil controllers and PLCs |

Macros | Functions
record_position.cpp File Reference
C++ examples
`#include "examples.h"`
`#include <iostream>`
`#include <fstream>`

Go to the source code of this file.

## Macros
#define | G_LASTINDEX 999

## Functions
void | write_array_to_file (GCon g, ofstream &os, const char *array_name, int previous_rd, int rd)
| Grabs data from array on controller and writes it to the given text file.
GReturn | record_position (GCon g, char *fileA, char *fileB)
| Record user's training and saves to a text file. More...

## Detailed Description

Function calls for the Record Position Example project

Definition in file record_position.cpp.