![Campbell CR9000 Instruction Manual Download Page 208](http://html1.mh-extra.com/html/campbell/cr9000/cr9000_instruction-manual_489197208.webp)
Section 9. Program Control Instructions
9-22
the slowsequence scan, the measurements that go into that integration may not
occur sequentially, but may be broken up into multiple integration segments
that are separated by the time that the primary scan measurements require. If
settling time is used for a measurement whose integration is broken up, that
settling time will take place before each integration period. Processing
instructions within the slow sequence are executed in the time available after
processing in the main program is completed.
SlowSequence Example
The example uses SlowSequence to calibrate the CR9000 every ten seconds.
SlowSequence
Scan(10 Secs, 0, 0)
Calibrate
BiasComp
Next
Scan
Timer
Used to return the value of a timer.
Syntax
Timer(
TimNo, Units, TimOpt
)
Remarks
Timer is a function that returns the value of a timer. TimOpt is used to start,
stop, reset and start, stop and reset, or read without altering the state (running
or stopped). Multiple timers, each identified by a different number (TimNo),
may be active at the same time.
Syntax
variable = Timer(1,usec,2)
Parameter
& Data Type
Enter
TimNo
Constant,
Variable, or
Expression
An integer number for the timer (e.g., 0, 1, 2, . . .) Use low numbers to conserve memory; using TimNo
100 will allocate space for 100 timers even if it is the only timer in the program.
Units
The units in which to return the timer value.
Constant
Alpha
Code
Numeric
Code
Units
USEC 0
microseconds
MSEC 1
milliseconds
SEC 2
seconds
MIN 3
minutes
TimOpt
Constant
The action on the timer. The timer function returns the value of the timer after the action is performed
Code Result
0 start
1 stop
2
reset and start
3
stop and reset
4 read
only
Summary of Contents for CR9000
Page 6: ...CR9000 Table of Contents iv This is a blank page ...
Page 22: ...CR9000 Overview OV 16 This is a blank page ...
Page 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Page 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Page 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Page 217: ...This is a blank page ...