4 usb: drive, 5 crd: drive – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 334

Advertising
background image

Section 8. Operation

334 

 

 

Note Placing an optional USR: size setting in the user program over-rides manual
changes to USR: size. When USR: size is changed manually, the user program
restarts and the programmed size for USR: takes immediate effect.

The USR: drive holds any file type within the constraints of the size of the drive
and the limitations on filenames. Files typically stored include image files from
cameras (see the appendix Cameras

(p. 562)

), certain configuration files, files

written for FTP retrieval, HTML files for viewing via web access, and files
created with the TableFile() instruction. Files on USR: can be collected using
support software Retrieve

(p. 454)

command, or automatically using the datalogger

support software Setup File Retrieval tab functions.

Monitor use of available USR: memory to ensure adequate space to store new
files. FileManage() command is used within the CR1000 CRBasic program to
remove files. Files also can be removed using support software Delete

(p. 454)

command.

Two Status-table registers monitor use and size of the USR: drive. Bytes
remaining are indicated in register "USRDriveFree." Total size is indicated in
register "USRDriveSize." Memory allocated to USR: drive, less overhead for
directory use, is shown in support software File Control (p. 454) window.

8.3.1.1.4 USB: Drive

USB: drive uses Flash memory on a Campbell Scientific mass storage device (see
the appendix Mass Storage Devices

). Its primary purpose is the storage of ASCII

data files. Measurement data can be stored on USB: as discrete files by using the
TableFile() instruction. Table TableFile()-Instruction Data-File Formats

(p. 336)

describes available data-file formats.

Caution When removing mass-storage devices, do so when the LED is not
flashing or lit.

Campbell Scientific mass-storage devices

• should be formatted as FAT32,
• connect to the CR1000 via the CS I/O,
• must be removed only when inactive, or data corruption may result.

8.3.1.1.5 CRD: Drive

CRD: drive uses CompactFlash

®

(CF) memory cards exclusively. Its primary

purpose is the storage of binary data files. See File-System Errors

(p. 347)

for

explanation of error codes associated with CRD: use.

Caution When installing or removing card-storage modules, first turn off
CR1000 power. Removing a card from the module while the CF card is active
can cause data corruption and may damage the card. Always press the removal
button to disable the card and wait for the green LED before removing the card or
switching off power prior to removal of the card.

To prevent losing data, collect data from the CF card before sending a program to
the datalogger. When a program is sent to the datalogger all data on the CF card
may be erased.

Advertising