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
Содержание CR1000
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 32: ......
Страница 36: ......
Страница 38: ......
Страница 40: ......
Страница 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Страница 96: ......
Страница 98: ...98 ...
Страница 302: ......
Страница 350: ...Section 8 Operation Figure 91 Pulse Sensor Output Signal Types Figure 92 Switch Closure Pulse Sensor 350 ...
Страница 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Страница 454: ...Section 8 Operation 8 8 1 Data Display Figure 116 Displaying Data with the Keyboard Display 454 ...
Страница 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Страница 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Страница 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Страница 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Страница 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Страница 478: ......
Страница 506: ......
Страница 536: ......
Страница 636: ......
Страница 642: ......
Страница 644: ......
Страница 676: ......
Страница 677: ......