Out Of Memory Error; Resetting The Cr300 - Campbell CR300 Series Operator's Manual

Hide thumbs Also See for CR300 Series:
Table of Contents

Advertisement

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 NANs 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 8.2, Sending an
Operating System
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:
).
(p. 51)
Terminal Emulator – Enter the CR300 terminal mode and type
REBOOT <Enter>. Type YES <Enter> when prompted.
CR300-Series Datalogger
55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr300-rf407Cr300-rf412Cr300-rf422

Table of Contents