Section 9. Program Control Instructions
9-17
Sleep
The Sleep instruction is used to put the datalogger in a quiescent mode
between program scans.
Syntax
Sleep
Remarks
This instruction allows the datalogger to go into its lowest current state
between program scans. The Sleep instruction affects only the scan in which it
resides.
Sleep Program Example
The following program has two separate scans. One scan uses the Sleep
instruction to put the datalogger in low power mode between scans.
DIM DiffVolt1
'Declare variable for diff measurement
DIM SeVolt2
'Declare variable for se measurement
BeginProg
Scan (1,Sec,3,0)
'Scan interval = 1 second
VoltDiff
(DiffVolt1,1,mV5000,1,True ,100,250,1.0,0)
'Scan diff channel
NextScan
Scan (10,Min,3,0)
'Scan interval = 10 minutes
Sleep
'Low power between scans
VoltSe (SeVolt2,1,mV5000,1,1,100,250,1.0,0)
'Scan se channel
NextScan
EndProg
Slow Sequence
The SlowSequence instruction allows a group of measurements to be executed
at a rate slower than the main program.
Syntax
SlowSequence
Remarks
The SlowSequence statement marks the end of the main program and begins a
low priority program. The instructions for this program are executed when the
main program is not running as time allows.
It is possible to have up to four different SlowSequence scans for
measurements that are not needed at the rate of the primary scan interval. The
datalogger tags on measurement instructions from the SlowSequence scans to
the normal scan as time allows. At least one rep of a measurement instruction
from the SlowSequence scan is added to each normal scan (the requested
settling time occurs before the measurement). Thus, the primary scan interval
must be long enough to make the primary scan measurements plus the longest
single measurement (including settling time) from the scan in the
SlowSequence. In the case where the primary scan interval is only long enough
to allow one measurement fragment from the SlowSequence per primary scan,
Содержание 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 ...