Section 10. Troubleshooting
556
•
The CR6 has a different (usually older) operating system that is not fully
compatible with the PC compiler. Check the two versions if in doubt.
The PC compiler version is shown on the first line of the compile results.
•
The program has large memory requirements for data tables or variables
and the CR6 does not have adequate memory. This normally is flagged
at compile time, in the compile results. If this type of error occurs, check
the following:
o
Copies of old programs on the CPU: drive. The CR6 keeps copies
of all program files unless they are deleted, the drive is formatted, or
a new operating system is loaded with
DevConfig
(p. 148).
o
That the USR: drive, if created, is not too large. The USR: drive
may be using memory needed for the program.
10.5.2 Program Compiles / Does Not Run Correctly
If the program compiles but does not run correctly, timing discrepancies are often
the cause. Neither
CRBasic Editor
nor the CR6 compiler attempt to check whether
the CR6 is fast enough to do all that the program specifies in the time allocated. If
a program is tight on time, look further at the execution times. Check the
measurement and processing times in the
Status
table (
MeasureTime
,
ProcessTime
,
MaxProcTime
) for all scans, then try experimenting with the
InstructionTimes()
instruction in the program. Analyzing
InstructionTimes()
results can be difficult due to the multitasking nature of the logger, but it can be a
useful tool for fine tuning a program.
10.5.3 NAN and ±INF
NAN
(not-a-number) and
±INF
(infinite) are data words indicating an exceptional
occurrence in datalogger function or processing.
NAN
is a constant that can be
used in expressions as shown in the following code snip that sets a CRBasic
control feature (a flag) if the wind direction is
NAN
:
If
WindDir = NAN
Then
WDFlag = False
Else
WDFlag = True
EndIf
NAN can also be used in conjunction with the disable variable (
DisableVar
) in
output processing (data storage) instructions as shown in CRBasic example
Using
NAN to Filter Data
(p. 559).
10.5.3.1 Measurements and NAN
A
NAN
indicates an invalid measurement.
Summary of Contents for CR6 Series
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 76: ...Section 5 Overview 76 FIGURE 20 Half Bridge Wiring Example Wind Vane Potentiometer ...
Page 80: ...Section 5 Overview 80 FIGURE 23 Pulse Input Wiring Example Anemometer ...
Page 136: ......
Page 454: ...Section 8 Operation 454 FIGURE 104 Narrow Sweep High Noise ...
Page 459: ...Section 8 Operation 459 FIGURE 106 Vibrating Wire Sensor Calibration Report ...
Page 535: ...Section 8 Operation 535 8 11 2 Data Display FIGURE 121 CR1000KD Displaying Data ...
Page 537: ...Section 8 Operation 537 FIGURE 123 CR1000KD Real Time Custom ...
Page 538: ...Section 8 Operation 538 8 11 2 3 Final Storage Data FIGURE 124 CR1000KD Final Storage Data ...
Page 539: ...Section 8 Operation 539 8 11 3 Run Stop Program FIGURE 125 CR1000KD Run Stop Program ...
Page 541: ...Section 8 Operation 541 FIGURE 127 CR1000KD File Edit ...
Page 546: ......
Page 552: ......
Page 610: ...Section 11 Glossary 610 FIGURE 137 Relationships of Accuracy Precision and Resolution ...
Page 612: ......
Page 648: ......
Page 650: ......
Page 688: ......
Page 689: ......