![Campbell CR3000 Micrologger Скачать руководство пользователя страница 219](http://html1.mh-extra.com/html/campbell/cr3000-micrologger/cr3000-micrologger_operators-manual_489090219.webp)
Section 7. Installation
219
•
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. 539)
utility, FTP, or e-
mail.
7.7.10.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 Memory Card
(p. 219)
is an
example of a micromet application.
Using TableFile() with Option 64 with Memory Card
'This program example demonstrates 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.
Public
Sensor(10)
DataTable
(Ts_data,TRUE,-1)
'TableFile("filename",Option,MaxFiles,NumRec/TimeIntoInterval,Interval,Units,
' OutStat,LastFileName)
TableFile
("CRD:"&Status.SerialNumber(1,1)&".ts_data_",64,-1,0,1,Day,0,0)
Sample
(10,sensor(1),IEEE4)
EndTable
BeginProg
Scan
(100,mSec,100,0)
'Measurement instructions go here.
'Processing instructions go here.
CallTable
ts_data
NextScan
EndProg
Содержание CR3000 Micrologger
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 6: ......
Страница 30: ......
Страница 34: ......
Страница 36: ......
Страница 96: ......
Страница 200: ...Section 7 Installation 200 FIGURE 42 Running Average Frequency Response FIGURE 43 Running Average Signal Attenuation ...
Страница 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Страница 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Страница 488: ...Section 8 Operation 488 8 11 2 3 Final Storage Data FIGURE 113 Keyboard and Display Final Storage Data ...
Страница 489: ...Section 8 Operation 489 8 11 3 Run Stop Program FIGURE 114 Keyboard and Display Run Stop Program ...
Страница 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Страница 495: ...Section 8 Operation 495 Low power standby whenever possible Low power bus sets bus and modules to low power ...
Страница 496: ......
Страница 502: ......
Страница 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Страница 566: ......
Страница 594: ......
Страница 598: ......
Страница 600: ......
Страница 602: ......
Страница 624: ......
Страница 642: ......
Страница 643: ......