
Section 9. Program Control Instructions
ClockSet (Source)
Sets the CR800 clock from the values in an array. The most likely use for this
is where the CR800 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 CR800 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(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.
Parameter
& Data Type
Enter
DelayOption
Constant
Code
0
1
Result
Delay will affect the measurement task sequence.
Processing will continue to take place as needed in the
background. When this option is chosen, the Delay
instruction must not be placed in a conditional statement.
Delay will affect processing. Measurements will continue as
called for by the task sequencer.
Delay
Constant
The numeric value for the time delay.
Units
The units for the delay.
Constant
Alpha
Code
Numeric
Code
Units
USEC 0 microseconds
MSEC 1 milliseconds
SEC 2 seconds
MIN 3 minutes
9-4
Comentários a estes Manuais