CS616 and CS625 Water Content Reflectometers
6.4.2 Measuring CS625 Output Using CR200(X) PeriodAvg Instruction
The
PeriodAvg()
instruction is used to measure the period (in microseconds)
or the frequency (in kHz) of a signal on a single-ended channel. This
instruction can be used to measure the CS625 Water Content Reflectometer.
PeriodAvg(
Dest, SEChan, Option, Cycles, Timeout, Port, Mult, Offset
)
Dest
:
The
Dest
parameter is a variable in which to store the results of the
measurement.
SEChan
:
The
SEChan
argument is the number of the single-ended channel on
which to make the measurement. Valid options are analog channels 1 through
4. The green wire is connected to this channel number.
Option
:
The
Option
parameter specifies whether to output the frequency or the
period of the signal.
Code Description
0
Period of the signal is returned (msec)
1
Frequency of the signal is returned (Hz)
Code 0 is typically used with the CS625 with a multiplier (see below) of 1.
Cycles
:
The
Cycles
parameter specifies the number of cycles to average each
scan.
Timeout
:
The
Timeout
parameter is the maximum time duration, in
milliseconds, that the datalogger will wait for the number of
Cycles
to be
measured for the average calculation. An overrange value will be stored if the
Timeout period is exceeded. A value of 1 is recommended if 10 is used for
cycles parameter.
Port
:
The
Port
parameter is the control port or analog channel that will be used
to switch power to the CS625 Water Content Reflectometer. Valid options are:
Code Description
0 None
C1
Control Port 1
C2
Control Port 2
3
Analog Channel 3
4
Analog Channel 4
5
Analog Channel 5
P_SW
Analog Channel 6/P_SW
Mult, Offset
:
The Mult and Offset parameters are each a constant, variable,
array, or expression by which to scale the results of the raw measurement. A
multiplier value of 1 is recommended.
11
Summary of Contents for CS616
Page 2: ......
Page 8: ...Table of Contents iv ...
Page 50: ...CS616 and CS625 Water Content Reflectometers 42 ...
Page 52: ...Appendix A Discussion of Soil Water Content A 2 ...
Page 53: ......