Section 2. storing data from current dataloggers – Campbell Scientific SM4M/SM16M Storage Modules User Manual

Page 15

Advertising
background image

2-1

Section 2. Storing Data from Current
Dataloggers

This section covers data storage from the CR500/510, CR10/10X, CR23X and from the
21X and CR7 with current software. See Section 3 for the 21X and CR7 with early
operating systems.

2.1 Instruction 96 — Output Data Under Program

Control

Instruction 96 is used to send Final Storage data to a Storage Module under
program control. Instruction 96 should be entered into the program table
following the Output Processing Instructions. Instruction 96 should be
executed each time the table is executed (i.e., the program should not branch
around or skip over Instruction 96). Instruction 96 can also be used to insert a
file mark into the data under program control. To do this, the option code
entered for parameter 1 is 7X (where X equals the Storage Module address)
and the parameter is indexed.

Instruction: 96

Parameter: 01:

7X — CR500/510, CR10/10X, CR23X uses option 7X to send the data to the
Storage Module with address ‘X’. X = 1 – 8

30 — 21X and CR7 use option code 30 to send data to the Storage Module.

When output to the Storage Module is enabled with Instruction 96, the Storage
Module(s) may either be left on-site and periodically exchanged, or brought to
the site to extract the data from the datalogger.

The datalogger is capable of recognizing whether or not the Storage Module is
connected. Each time Instruction 96 is executed and there is data to output, the
datalogger checks for the presence of the Storage Module. If one is not
present, no data is sent; the datalogger continues its other operations without
advancing its Storage Module Pointer.

When you finally connect the Storage Module to the datalogger, two things
happen:

1.

Immediately on connection, a File Mark is placed in the Storage Module
memory at the position of the Module’s Storage Reference Pointer (SRP).
The File Mark allows the operator to distinguish blocks of data from
different dataloggers or from different visits to the field.

2.

During the next execution of Instruction 96, the datalogger recognizes
that the Storage Module is present, outputs all of the data stored since the

Advertising