3 maxfiles, 4 numrecs/timeintointerval parameter, Data collection modes – Campbell Scientific SC115 CS I/O 2G Flash Memory Drive with USB Interface User Manual

Page 17: Resident modes

Advertising
background image

SC115 CS I/O 2G Flash Memory Drive with USB Interface

10.1.3 MaxFiles

The MaxFiles parameter specifies the maximum number of files to retain on an
SC115. Table 4 reviews the options.

TABLE 4. Synopsis of MaxFiles Parameter Options

MaxFiles Entry Function

X

Create Maximum of X files, ring memory (overwrite
oldest file with newest file when full).

0

The filename will remain fixed with no number
appended. The old file if it exists will be overwritten
at each output.

-1

No limit to number of files, ring memory (overwrite
oldest file with newest file when full)

-2

No limit to number of files, fill and stop memory
(datalogger stops writing to SC115 when SC115 is
full)


When MaxFiles is X, SC115 memory may fill before X number of files is
reached. If this occurs, the datalogger internally reduces X to the current
number of files and overwrites the oldest file with new data.

Refer to the CRBasic Help system for detailed information on this parameter.

10.1.4 NumRecs/TimeIntoInterval Parameter

Data Collection Modes

For Data Collection Modes, the NumRecs/TimeIntoInterval parameter is set to
zero, and the Interval parameter is set to either 0 or -1 (see Section 10.1.5,
Interval Parameter). With these modes, the datalogger begins writing to the
SC115 as soon as it is connected to the datalogger. All new records are written
to a single file. See previous Table 3 and Section 10.5.1, Data Collection
Mode Example
.

Resident Modes

Resident Mode increases the risk of data corruption. Review
Section 12.1, Preventing Data Corruption before employing a
resident mode.

NOTE

For resident modes, the NumRecs/TimeIntoInterval parameter determines when
files are written to the SC115. The function of NumRecs/TimeIntoInterval is
linked to the Interval parameter. If Interval is set to 0, enter the number of
records to be included in each new file sent to the SC115. The program will
create a new file each time NumRecs is reached. If Interval is set to non-zero,
NumRecs/TimeIntoInterval becomes the time into Interval that the program
writes the next file. Previous Table 3 and CRBasic Editor Help provide further
explanation of the interplay between TimeIntoInterval and Interval.

11

Advertising