beautypg.com

1 data storage, 1 data table sram, 2 cpu: drive – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual

Page 318: 3 usr: drive

background image

Section 8. Operation

318 

 

 

8.3.1.1 Data Storage

Data-storage drives are listed in table CR800 Memory Drives

(p. 318).

Data-table

SRAM and the CPU: drive are automatically partitioned for use in the CR800.
The USR: drive can be partitioned as needed. The USB: drive is automatically
partitioned when a Campbell Scientific mass-storage device

is connected.

Table 72. Data-Storage Drives

Drive Recommended

File

Types

CPU:

1

cr8, .CAL

USR:

2

cr8, .CAL

USB: .DAT

1

The CPU: drive uses a FAT16 file system, so it is limited to 128 file. If the file names are longer

than 8.3 characters (e.g. 12345678.123), you can store less.

2

The USR: drive uses a FAT32 file system, so there is no practical limit to the number of files that

can be stored on it. While a FAT file system is subject to fragmentation, performance degradation
is not likely to be noticed since the drive is small and solid state RAM (very fast access).

 

8.3.1.1.1 Data Table SRAM

Primary storage for measurement data are those areas in SRAM allocated to data
tables as detailed in table CR800 SRAM Memory

(p. 317).

Measurement data can be

also be stored as discrete files on USR: or USB: by using TableFile() instruction.

The CR800 can be programmed to store each measurement or, more commonly,
to store processed values such as averages, maxima, minima, histograms, FFTs,
etc. Data are stored periodically or conditionally in data tables in SRAM as
directed by the CRBasic program (see Structure

(p. 112)

). The DataTable()

instruction allows the user to set the size of a data table. Discrete data files are
normally created only on a PC when data are retrieved using datalogger support
software

(p. 76).

Data are usually erased from this area when a program is sent to the CR800.
However, when using support software File Control menu Send

(p. 431)

command

or CRBasic Editor Compile, Save and Send

(p. 428)

command, options are

available to preserve data when downloading programs.

8.3.1.1.2 CPU: Drive

CPU: is the default drive on which programs and calibration files are stored. Do
not store data on CPU: or premature failure of CPU: memory may result.

8.3.1.1.3 USR: Drive

SRAM can be partitioned to create a FAT32 USR: drive, analogous to partitioning
a second drive on a PC hard disk. Certain types of files are stored to USR: to
reserve limited CPU: memory for datalogger programs and calibration files.
Partitioning also helps prevent interference from data table SRAM. USR: is
configured using DevConfig settings or SetStatus() instruction in a CRBasic
program. Partition USR: drive to at least 11264 bytes in 512-byte increments. If
the value entered is not a multiple of 512 bytes, the size is rounded up. Maximum