Section 7. Installation
156
data frame before the next record is written. Consequently, programs that lapse
frequently waste significant memory.
If Lapses is set to an argument of 20, the memory allocated for the data table is
increased by enough memory to accommodate 20 sub-headers (320 bytes). If
more than 20 lapses occur, the actual number of records that are written to the
data table before the oldest is overwritten (ring memory) may be less than what
was specified in the DataTable(), or the CF CardOut() instruction, or a
TableFile() instruction with Option 64.
If a program is planned to experience multiple lapses, and if comms bandwidth is
not a consideration, the Lapses parameter should be set to 0 to ensure the CR3000
allocates adequate memory for each data table.
DataInterval() Lapse Parameter Options
DataInterval() Lapse
Argument
Effect
Lapse > 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.
Lapse
=
0
Time stamp and record number are always stored
with each record.
Lapse < 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. 558))
, rather than scan time
(see Scan Time
(p. 554))
, is desired. To get the system time, the CallTable()
instruction must be run outside the Scan() loop. See Time Stamps
(p. 335).
OpenInterval() Instruction
By default, the CR3000 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 or not 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 data-output interval, the memory that contains the
measurements for the time series data are cleared. If a data-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 data-output intervals).
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......