Galil Motion Control note 2312 Page 3
Here, the host computer reads one element at a time and is always looking
at the state of the controller. If the array size is large and the capture rate
slow, the host computer could look at the controller less often and upload
more than one array element. Please note the command 'RC 3,-1' starts the
recording from the host.
An example of the commands needed to set up infinite recording is below.
These commands set up the Record Array function to capture the X axis
position and store it in an array of 1000 elements:
DM POSX[1000]
define array
RA POSX[]
specify which arrays to record
RD _TPX
specify data to be recorded ' TPX'
The host computer program starts the recording with the 'RC' command.
To stop recording send the command: 'RC 0'