beautypg.com

Programming the datalogger, 1 cr10x, cr10, cr510, and cr500, 1 instruction – Campbell Scientific DCP100 GOES Data Collection Platform User Manual

Page 18

background image

DCP100 DATA COLLECTION PLATFORM

10

the “A” key is pressed. The active
buffer is set using command 7 and 8.

3

Forward power is the first parameter
and reflected power is the second (see
Section 7).

4

The first parameter displays the
number of errors. Parameters 2-9 list
the history of errors, where parameter
2 is the most recent (see Section 8.4).

5

Number of bytes in self-timed or
random buffer (used after command
6 or 7
).

6

Selects self-timed buffer (used before
command 5
).

7

Selects random buffer (used before
command 5
).

8

Initiates test transmission of data in
the random buffer. You must be
assigned a random channel (see *#
parameter 13) or obtain from NESDIS
a channel for testing. The random
buffer must contain data. The TGT-1
will not perform a test transmission
more often then once each minute.
Clear the random buffer before final
TGT-1 setup. Appendix F contains a
datalogger program that dumps data
into the random buffer.

9. PROGRAMMING THE DATALOGGER

9.1 CR10X, CR10, CR510, AND CR500

9.1.1 Instruction

CR10X, CR500, and CR510 dataloggers
contain program Instruction 120 which transfers
the final storage data to the transmitter's buffer
and designates locations for the
forward/reflected power. The CR10s use
Instruction 99 instead of Instruction 120. The
CR10 Instruction 99 and CR10X Instruction 120
are identical except for the instruction number.
This instruction also automatically compares
the datalogger to the transmitter clock. If the
clocks differ more than 3 seconds, the
datalogger's clock is set to the transmitter's.
However, only the seconds are compared.
Therefore, the datalogger's clock is NOT reset
when the minutes or hours differ. The complete
time (HH:MM:SS) will be updated if the clocks
differ by more than 3 seconds. Table 9.1-1 lists
and describes Instruction 120's parameters.

TABLE 9.1-1 CR10X, CR10, CR510 and

CR500’s Instruction Parameters

01: ABC Where: A = 0 binary mode (3-bytes

per data point)

A = 1 ASCII mode (7-bytes

per data point)

B = 0 self-timed buffer
B = 1 random buffer
C = 0 appends the new data

to the old data

C = 1 writes over the old data

02: z

Where: z > 0 Starting input location

for the forward power
reading (see Section
7). The next input
location automatically
contains the reflected
power reading (e.g.,
when the forward
power's input location
is 10, the reflected
power's input location
is 11). By placing
these readings into
input locations, you can
sample and output the
forward and reflected
power as part of the
data stream
(Instruction 70).

z = 0 The forward and

reflected power
readings are NOT
placed into input
locations.

NOTE: The ASCII option (1xx) requires
approximately 7 bytes per data point which
is double the number of bytes required for
the binary option (0xx). This is a convenient
method of sending data since no post-
processing conversion is required.
However, the required transmission time for
ASCII is doubled. With a typical
transmission window of one-minute, you
can send up to 59 data points in ASCII or
118 data points in binary (this allows 15
second guard bands before and after
transmission to allow for normal clock drift).