40 "RC 0;' Disable Recording\n" +
41 "DP 0, 0;' Set current position to 0\r" +
42 "DM posA[1000], posB[1000];' Define a new array that will hold positional data\r" +
43 "RA posA[], posB[];' Sets position array to be where recorded data will be stored\r" +
44 "RD _TPA, _TPB;' Defines Position to be the type of data that will be recorded\r" +
45 "RC 1,-1000;' Begins recording at 512Hz in continuous mode\r" +
46 "MO AB;' Turns motors off\r" +
47 "AI -1;' Waits for active low on Input 1\r" +
48 "RC 0;' Disable Recording after Input 1 goes low\r" +
const int GALIL_EXAMPLE_OK
Examples success code.
Provides a class of shared constants and methods for gclib's example projects.
List< double > GArrayUpload(string array_name, Int16 first=-1, Int16 last=-1)
Uploads array data from the controller's array table.
string GCommand(string Command, bool Trim=true)
Used for command-and-response transactions.
void GProgramDownload(string program, string preprocessor="")
Allows downloading of a DMC program from a string buffer.
Int16 GCmdI(string Command)
Used for command-and-response transactions.
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.
static int Record_Position(gclib gclib, string fileA, string fileB)
Record user's training and saves to a text file.