Campbell Scientific CR6 CR6 Measurement and Control System - Page 207
TableFile with Option 64 Replaces CardOut, 9.11.3 TableFile with Option 64 Programming
![]() |
View all Campbell Scientific CR6 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 207 highlights
Section 7. Installation from the CR6 only as often as you can afford to lose the data. In other words, if you can afford to lose a months worth of data, you can afford to collect the data only once a month. 1Memory cards for the CR6 are the micro SD type. 2The CRD: drive is a memory drive created when a memory card is inserted into the CR6. 3CRBasic Editor is included in Campbell Scientific datalogger support software (p. 89) suites LoggerNet, PC400, and RTDAQ. 7.9.11.2 TableFile() with Option 64 Replaces CardOut() TableFile() with Option 64 has several advantages over CardOut() when used in most applications. These include: • Allowing multiple small files to be written from the same data table so that storage for a single table can exceed 2 GB. TableFile() controls the size of its output files through the NumRecs, TimeIntoInterval, and Interval parameters. • Faster compile times when small file sizes are specified. • Easy retrieval of closed files with File Control (p. 496) utility, FTP, or e-mail. 7.9.11.3 TableFile() with Option 64 Programming As shown in the following CRBasic code snip, the TableFile() instruction must be placed inside a DataTable() / EndTable declaration. The TableFile() instruction writes data to the memory card based on user-specified parameters that determine the file size based on number of records to store, or an interval over which to store data. The resulting file is saved with a suffix of X.dat, where X is a number that is incremented each time a new file is written. DataTable(TableName,TriggerVariable,Size) TableFile(FileName...LastFileName) 'Output processing instructions go here EndTable For example, in micrometeorological applications, TableFile() with Option 64 is used to create a new high-frequency data file once per day. The size of the file created is a function of the datalogger scan frequency and the number of variables saved to the data table. For a typical eddy-covariance station, this daily file is about 50 MB large (10 Hz scan frequency and 15 IEEE4 data points). CRBasic example Using TableFile() with Option 64 with CF Cards (p. 207) is an example of a micromet application. CRBasic Example 37. Using TableFile() with Option 64 with CF Card ' the use of TableFile() with Option 64 in micrometeorology 'eddy-covariance programs. The file naming scheme used in instruction TableFile() is 'customized using variables, constants, and text. 207
![](/manual_guide/products/campbell-scientific-cr6-cr6-measurement-control-a476969/207.png)