
Section 7. Installation
130
If a program is planned to experience multiple lapses, and if telecommunications
bandwidth is not a consideration, the
Lapses
parameter should be set to
0
to
ensure the CR800 allocates adequate memory for each data table.
Table 14.
DataInterval()
Lapse Parameter Options
DataInterval()
Lapse
Argument
Effect
X > 0
If table record number is fixed, X data frames (1 kB per data
frame) are added to data table if memory is available. If record
number is auto-allocated, no memory is added to table.
X = 0
Time stamp and record number are always stored with each
record.
X < 0
When lapse occurs, no new data frame is created. Record time
stamps calculated at data extraction may be in error.
Scan Time and System Time
In some applications, system time (see
System Time
(p. 445)
) is desired, rather than
scan time (see
Scan Time
(p. 442)
). To get the system time, the
CallTable()
instruction must be run outside the
Scan()
loop. See section
Time Stamps
(p. 269).
OpenInterval() Instruction
By default, the CR800 uses closed intervals. Data output to a data table based on
DataInterval()
includes measurements from only the current interval.
Intermediate memory that contains measurements is cleared the next time the data
table is called regardless of whether a record was written to the data table.
Typically, time series data (averages, totals, maxima, etc.) that are output to a data
table based on an interval only include measurements from the current interval.
After each output interval, the memory that contains the measurements for the
time series data are cleared. If an output interval is missed (because all criteria are
not met for output to occur), the memory is cleared the next time the data table is
called. If the
OpenInterval
instruction is contained in the
DataTable()
declaration, the memory is not cleared. This results in all measurements being
included in the time series data since the last time data were stored (even though
the data may span multiple output intervals).
Note
Array-based dataloggers, such as CR10X and CR23X, use open intervals
exclusively.
Data Output-Processing Instructions
Final data storage processing instructions (aka "output processing" instructions)
determine what data are stored in a data table. When a data table is called in the
CRBasic program, final data storage processing instructions process variables
holding current inputs or calculations. If trigger conditions are true, for example if
the output interval has expired, processed values are stored, or output, into the
data table. In CRBasic example
Definition and Use of a Data Table
(p. 127),
three
averages are stored.
Summary of Contents for CR850
Page 2: ......
Page 4: ......
Page 6: ......
Page 26: ...Table of Contents 26...
Page 30: ...Section 2 Cautionary Statements 30...
Page 32: ...Section 3 Initial Inspection 32...
Page 35: ...Section 4 Quickstart Tutorial 35 Figure 2 Wiring panel...
Page 55: ...Section 4 Quickstart Tutorial 55 Figure 24 PC200W View data utility...
Page 78: ...Section 5 System Overview 78...
Page 80: ...Section 6 CR800 Specifications 80...
Page 267: ...Section 7 Installation 267 Figure 84 Running average signal attenuation...
Page 268: ...Section 7 Installation 268...
Page 384: ...Section 8 Operation 384 Figure 113 Using the keyboard display...
Page 387: ...Section 8 Operation 387 Figure 116 Real time custom...
Page 388: ...Section 8 Operation 388 8 8 1 3 Final Storage Tables Figure 117 Final storage tables...
Page 389: ...Section 8 Operation 389 8 8 2 Run Stop Program Figure 118 Run Stop Program...
Page 390: ...Section 8 Operation 390 8 8 3 File Display Figure 119 File display...
Page 396: ...Section 8 Operation 396...
Page 402: ...Section 9 Maintenance 402...
Page 450: ...Section 11 Glossary 450...
Page 504: ...Appendix A CRBasic Programming Instructions 504...
Page 526: ...Appendix B Status Table and Settings 526...
Page 530: ...Appendix C Serial Port Pinouts 530...
Page 536: ...Appendix E FP2 Data Format 536...
Page 550: ...Appendix F Other Campbell Scientific Products 550...
Page 565: ......