
7.2 Data logger programming
Short Cut
is the best source for up-to-date programming code for Campbell Scientific data
loggers. If your data acquisition requirements are simple, you can probably create and maintain a
data logger program exclusively with
Short Cut
. If your data acquisition needs are more complex,
the files that
Short Cut
creates are a great source for programming code to start a new program
or add to an existing custom program.
NOTE:
Short Cut
cannot edit programs after they are imported and edited in
CRBasic Editor
.
A
Short Cut
tutorial is available in
(p. 2). If you wish to import
Short Cut
code into
CRBasic Editor
to create or add to a customized program, follow the procedure in
Short Cut code into CRBasic Editor
(p. 15). This section provides programming basics for CRBasic
data loggers. A complete program example can be found in
The
PulseCount()
instruction programs CRBasic data loggers to measure the TE525 rain
gage.
PulseCount
(Dest,Reps,PChan,PConfig,POption,Mult,Offset)
l
Choose Switch Closure for the
PConfig
parameter. For the CR6 and CR1000X, choose
Switch Closure with pull up.
l
The
Multiplier
parameter determines the units in which rainfall is reported (
(p. 8)).
Table 7-2: Multipliers for rain measurement
Rain gage
Inches
Millimeters
TE525
0.01
0.254
TE525WS
0.01
0.254
TE525MM
0.00394
0.1
TE525 or TE525MM
w/8 in funnel
0.0057
0.1459
7.3 Siting
Mount the rain gage in a relatively level spot representative of the surrounding area. Ensure that
the lip of the funnel is horizontal, at least 30 cm above the ground, and higher than the average
snow depth.
TE525-Series Tipping Bucket Rain Gage
8