Campbell Scientific CR3000 CR3000 Micrologger - Page 339
SetStatus, TableFile, Retrieve, Setup File Retrieval, FileManage, Delete, Status, File Control,
View all Campbell Scientific CR3000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 339 highlights
Section 8. Operation 8.3.1.1.4 USB: Drive 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 CR3000 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 using the integrated keyboard / display or by loading a program with a different USR: size entered in a SetStatus() instruction. Measurement data can be stored on USR: as discrete files by using the TableFile() instruction. Table TableFile()-Instruction Data-File Formats (p. 341) describes available data-file formats. 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. 564) ), 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. 456) 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 CR3000 CRBasic program to remove files. Files also can be removed using support software Delete (p. 456) 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. 456) window. 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. 341) 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 CR3000 via the CS I/O, • must be removed only when inactive, or data corruption may result. 339