Section 10. Troubleshooting
messages may not be obvious because the display is limited. Much of this
information is more easily accessed through the
datalogger support software
(p. 95)
station status report. The message reports the following:
•
program compiled OK
•
warnings about possible problems
•
run-time errors
•
variables that caused out-of-bounds conditions
•
watchdog information
•
memory errors
Warning messages are posted by the CRBasic compiler to advise that some
expected feature may not work. Warnings are different from error messages in
that the program will still operate when a warning condition is identified.
A rare error is indicated by
mem3 fail
type messages. These messages can be
caused by random internal memory corruption. When seen on a regular basis with
a given program, an operating system error is indicated.
Mem3 fail
messages are
not caused by user error, and only rarely by a hardware fault. Report any
occurrence of this error to a Campbell Scientific application engineer, especially if
the problem is reproducible. Any program generating these errors is unlikely to be
running correctly.
Examples of some of the more common warning messages are listed in table
Warning Message Examples
(p. 486).
Table 130.
Warning Message Examples
Message
Meaning
CPU:DEFAULT.CR1 -- Compiled in
PipelineMode.
Error(s) in CPU:NewProg.CR1:
line 13: Undeclared variable Battvolt.
A new program sent to the datalogger failed to
compile, and the datalogger reverted to running
DEFAULT.cr1.
Warning: Cannot open include file CPU:
Filename.cr1
The filename in the Include instruction does not
match any file found on the specified drive.
Since it was not found, the portion of code
referenced by Include will not be executed.
Warning: Cannot open voice.txt
voice.txt, a file required for use with a COM310
voice phone modem, was not found on the CPU:
drive.
Warning: COM310 word list cannot be a
variable.
The
Phrases
parameter of the
VoicePhrases()
instruction was assigned a variable name instead
of the required string of comma-separated words
from the Voice.TXT file.
Warning: Compact Flash Module not
detected: CardOut not used.
CardOut()
instructions in the program will be
ignored because no CompactFlash (CF) card was
detected when the program compiled.
Warning: EndIf never reached at runtime.
Program will never execute the
EndIf
instruction. In this case, the cause is a
Scan()
with a
Count
parameter of 0, which creates an
infinite loop within the program logic.
486
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......