Section 9. Program Control Instructions
9-4
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 CR5000 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
Содержание CR5000
Страница 39: ...Section 1 Installation and Maintenance 1 15 S A N Y O FIGURE 1 11 6 Removal of band clamp and battery ...
Страница 40: ...Section 1 Installation and Maintenance 1 16 This is a blank page ...
Страница 54: ...Section 2 Data Storage and Retrieval 2 14 This is a blank page ...
Страница 88: ...Section 4 CRBasic Native Language Programming 4 12 This is a blank page ...
Страница 94: ...Section 5 Program Declarations 5 6 This is a blank page ...
Страница 172: ...Section 7 Measurement Instructions 7 46 This is a blank page ...
Страница 206: ......
Страница 236: ...Index Index 4 This is a blank page ...
Страница 237: ...This is a blank page ...