Campbell Scientific CR6 CR6 Measurement and Control System - Page 377
USB: Drive
![]() |
View all Campbell Scientific CR6 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 377 highlights
Section 8. Operation 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 size of USR: is the total RAM size less 400 kB; i.e., for a CR6 with 4 MB memory, the maximum size of USR: is about 3.6 MB. USR: is not affected by program recompilation or formatting of other drives. It will only be reset if the USR: drive is formatted, a new operating system is loaded, or the size of USR: is changed. USR: size is changed manually by accessing it in the Status table or by loading a CRBasic program with a different USR: drive size entered in a SetStatus() or SetSetting() instruction. See section Settings With CRBasic. Measurement data can be stored on USR: as discrete files by using the TableFile() instruction. Table TableFile()-Instruction Data-File Formats (p. 379) describes available data-file formats. Note Placing an optional USR: size setting in the CRBasic program over-rides manual changes to USR: size. When USR: size is changed manually, the CRBasic 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 ), certain configuration files, files written for FTP retrieval, HTML files for viewing with web access, and files created with the TableFile() instruction. Files on USR: can be collected using datalogger support software (p. 89) Retrieve (p. 496) 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 can be used in the CRBasic program to remove files. Files also can be removed using datalogger support software Delete (p. 496) 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 datalogger support software File Control (p. 496) 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 (p. 603) ). 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. 379) describes available data-file formats. Caution When removing mass-storage devices, do so when the LED is not flashing or lit. Consider the following when using Campbell Scientific mass-storage devices: • format as FAT32 377
![](/manual_guide/products/campbell-scientific-cr6-cr6-measurement-control-a476969/377.png)