
Model HC2S3 Temperature and Relative Humidity Probe
9
7.2 Datalogger Programming
Short Cut
is the best source for up-to-date datalogger programming code.
Programming code is needed when:
•
Creating a program for a new datalogger installation
•
Adding sensors to an existing datalogger program
If your data acquisition requirements are simple, you can probably create and
maintain a datalogger 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.
Short Cut
cannot edit programs after they are imported and edited
in
CRBasic Editor
.
A
Short Cut
tutorial is available in Section
. If you wish to
import
Short Cut
code into
CRBasic Editor
to create or add to a customized
program, follow the procedure in Appendix
(p. A-1)
. Programming basics for CRBasic dataloggers are
provided in the following sections. Complete program examples for select
dataloggers can be found in Appendix
.
7.2.1 VoltSE() Instruction
When cable lengths are shorter than 6.1 meters or when power is switched, the
VoltSE()
measurement instruction is used with CRBasic dataloggers
(CR200(X)-, CR6-, and CR800-series, CR1000, CR3000) to measure both
temperature and relative humidity from the HC2S3 sensor. The output scale is
0 to 1000 mV for the temperature range of –40 to 60 °C and 0 to 1000 mV for
the relative humidity range of 0 to 100%.
VoltSE
(Dest, Reps, Range, SEChan, MeasOff, SettlingTime,
Integ/FNotch, Mult, Offset)
Variations:
•
Temperature reported as °C
—
set
Mult
to
0.1
and
Offset
to
-40
•
Temperature reported as °F
—
set
Mult
to
.18
and
Offset
to
-40
•
Humidity reported as a percent – set
Mult
to
0.1
and
Offset
to
0
•
Humidity reported as a fraction – set
Mult
to
0.001
and
Offset
to
0
When the probe is connected to a CS110 Electric Field Meter, the
probe is measured by the CS110’s internal CR1000 datalogger
module using
VoltSE()
instructions. Relative humidity and
temperature signals are measured on single-ended channels 1 and
2, respectively. 250 µs integration should be used in the
VoltSE()
instructions.
NOTE
NOTE