Specifications

Section 9. Program Control Instructions
9-4
This next example uses Restore to read 1, 2, 3, 4 into both X( ) and Y( )
variables.
Data 1, 2, 3, 4
For I = 1 To 4
Read X( I )
Next I
Restore
For I = 1 To 4
Read Y( I )
Next I
ClockSet (Source)
Sets the CR3000 clock from the values in an array. The most likely use for
this is where the CR3000 can input the time from a more accurate clock than
its own (e.g., a GPS receiver). The input time would periodically or
conditionally be converted into the required variable array and ClockSet would
be used to set the CR3000 clock.
Source
Array
The source must be a seven-element array . array(1)..array(7) should hold
respectively year, month, day, hours, minutes, seconds, and microseconds..
Delay (Option, Delay, Units)
Used to delay the program.
Syntax
Delay(Option, Delay, Units)
Remarks
The Delay instruction is used to delay the measurement task sequence or the
processing instructions for the time period specified by the Delay and Units
arguments, before progressing to the next measurement or processing
instruction.
The Scan Interval should be sufficiently long to process all measurements plus
the delay period. If the delay is applied to the measurement task sequence and
the scan interval is not long enough to process all measurements plus the delay,
the program will not compile when downloaded to the datalogger. If the delay
is applied to the processing task sequence, the program will compile but scans
will be skipped.