
CR300-Series Datalogger
55
type
FP2
is –7999, so
NAN
for
FP2
data will appear in a data table as –7999.
If the data type is
Long
,
NAN
will appear in the data table as –2,147,483,648.
Because
NAN
is a constant, it can be used in conjunction with the disable
variable parameter (
DisableVar
) in output processing instructions. Use the
DisableVar
parameter to call the output table conditionally (for example, do
not call the table if a variable =
NAN
) to keep
NAN
s from affecting the other
good values.
9.4 Out of Memory Error
When the datalogger gives an “Out of memory” error upon program compile, it
means that there is no unused continuous section of memory large enough to fit
an element of the program. The most common cause of this error is a large
variable array. In that case, split the large array into smaller arrays until the
datalogger compiler accepts the program.
9.5 Resetting the CR300
Sometimes the easiest way to resolve a problem is by resetting the datalogger.
To completely reformat the CR300, send an operating system through the
Device Configuration Utility
Send OS
tab. This erases all programs and data
and restores each setting to its factory default (see Section
(p. 51)
).
To reset the processor, simply power cycle the CR300. This resets its short-
term memory, restarts the current program, sets variables to their starting
values, and clears communication buffers. This does not clear data tables but
may result in a skipped record. If the datalogger is remote, a power cycle can
be mimicked in
Terminal Emulator
or in a CRBasic program shown below:
•
Terminal Emulator
– Enter the CR300 terminal mode and type
REBOOT <Enter>
. Type
YES <Enter>
when prompted.
Summary of Contents for CR300 series
Page 2: ......
Page 6: ......
Page 68: ...CR300 Series Datalogger 58...
Page 70: ......
Page 85: ......