Campbell Scientific CR1000KD CR800 and CR850 Measurement and Control Systems - Page 404
CompileResults
View all Campbell Scientific CR1000KD manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 404 highlights
Section 10. Troubleshooting 10.3.1.1 CompileResults Reports messages generated by the CR800 at program upload and compile-time. A message will report that the program compiled OK, provide warnings about possible problems, or indicate there are run-time errors. Error messages may not be obvious because the display column is too short. Messages report variables that caused out-of-bounds conditions, watchdog information, and memory errors. Messages may be tagged onto this line as the program runs. Warning messages are issued 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 applications 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. 404). Table 106. Warning Message Examples Example of Warning 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.cr8. Warning: Cannot open include file CPU: Filename.cr8 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: 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. Warning: Internal Data Storage Memory was re-initialized. Sending a new program has caused the finalstorage memory to be re-allocated. Previous data are no longer accessible. Warning: Machine self-calibration failed. Indicates a problem with the analog measurement hardware during the self 404