![Campbell CR800 Series Скачать руководство пользователя страница 466](http://html1.mh-extra.com/html/campbell/cr800-series/cr800-series_operators-manual_489099466.webp)
Section 10. Troubleshooting
466
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 CR800 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 CR800 keeps
copies of all program files unless they are deleted, the drive is
formatted, or a new operating system is loaded with
DevConfig
(p.
o
That the USR: drive, if created, is not too large. The USR: drive
may be using memory needed for the program.
o
that a program written for a 4 MB CR800 is being loaded into a 2
MB CR800.
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 CR800 compiler attempt to check
whether the CR800 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. 469).
10.5.3.1 Measurements and NAN
A
NAN
indicates an invalid measurement.
Содержание CR800 Series
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 32: ......
Страница 34: ......
Страница 54: ......
Страница 92: ......
Страница 190: ...Section 7 Installation 190 FIGURE 40 Running Average Frequency Response FIGURE 41 Running Average Signal Attenuation ...
Страница 310: ......
Страница 446: ...Section 8 Operation 446 8 11 2 Data Display FIGURE 100 CR1000KD Displaying Data ...
Страница 448: ...Section 8 Operation 448 FIGURE 102 CR1000KD Real Time Custom ...
Страница 449: ...Section 8 Operation 449 8 11 2 3 Final Storage Data FIGURE 103 CR1000KD Final Storage Data ...
Страница 450: ...Section 8 Operation 450 8 11 3 Run Stop Program FIGURE 104 CR1000KD Run Stop Program ...
Страница 452: ...Section 8 Operation 452 FIGURE 106 CR1000KD File Edit ...
Страница 456: ......
Страница 462: ......
Страница 523: ...Section 11 Glossary 523 FIGURE 116 Relationships of Accuracy Precision and Resolution ...
Страница 524: ......
Страница 526: ......
Страница 556: ......
Страница 558: ......
Страница 560: ......
Страница 597: ......