Specifications

Section 9. Program Control Instructions
9-18
measurements, followed by background calibration (which is automatically run
in a slow sequence), then the first slow sequence, the second slow sequence,
and so on. Refer to section OV 2.3 for additional information on the priority of
sequences in the datalogger.
Slow sequences are typically run at a slower rate than the main program. They
can be run at a faster rate if there are no measurement instructions in the slow
sequence. There is, however, a risk of skipping scans in a slow sequence if the
main scan interval is set too fast. A rule of thumb is that the main scan should
be no faster than N + 1 * the fastest slow sequence, where N is the number of
slow sequences in the program and the “1” is to account for background
calibration. For example, if there are three slow sequences in the program, the
main scan interval should be four times faster than the fastest slow sequence.
Subroutines and data tables called by a slow sequence should be declared after
the SlowSequence instruction. Data written to data tables within a slow
sequence will be time stamped with the start time of the slow sequence scan.
SlowSequence Example
'CR3000 Series Datalogger
'Slow Sequence Example
Public Temp107, PanelT, BattVolts
DataTable (T107,True,-1)
DataInterval (0,1,Min,10)
Average (1,Temp107,FP2,False)
EndTable
BeginProg
Scan (1,Sec,10,0)
Therm107 (Temp107,1,1,Vx1,0,250,1.0,0)
CallTable T107
NextScan
'First Slow Sequence Scans once a minute and stores hourly average
SlowSequence
DataTable (TPanel,True,-1)
DataInterval (0,1,Hr,10)
Average (1,PanelT,FP2,False)
EndTable
Scan (1,Min,3,0)
PanelTemp (PanelT,250)
CallTable TPanel
NextScan