![Campbell CR850 Operator'S Manual Download Page 408](http://html1.mh-extra.com/html/campbell/cr850/cr850_operators-manual_3829356408.webp)
Section 10. Troubleshooting
408
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.3.4 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 CRBasic example
Using NAN in Expressions
(p.
408).
. 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. 410).
10.3.4.1 Measurements and NAN
A
NAN
indicates an invalid measurement.
10.3.4.1.1 Voltage Measurements
The CR800 has the following user-selectable voltage ranges: ±5000 mV, ±2500
mV, ±250 mV, ±25 mV, ±7.5 mV, ±2.5 mV. Input signals that exceed these
ranges result in an over-range indicated by a
NAN
for the measured result. With
auto range to automatically select the best input range, a
NAN
indicates that either
one or both of the two measurements in the auto-range sequence over ranged. A
voltage input not connected to a sensor is floating and the resulting measured
voltage often remains near the voltage of the previous measurement. Floating
measurements tend to wander in time, and can mimic a valid measurement. The
C
(open input detect/common-mode null) range-code option can be used to force
a NAN result for open (floating) inputs.
10.3.4.1.2 SDI-12 Measurements
NAN is loaded into the first
SDI12Recorder()
variable under these conditions:
•
When busy with terminal commands.
•
When the command is an invalid command.
•
When the sensor aborts with CR LF and there is no data.
CRBasic EXAMPLE. Using NAN in Expressions
CRBasic
Example
67.
Using
NAN
in
Expressions
If
WindDir = NAN
Then
WDFlag = False
Else
WDFlag = True
EndIf
10.3.4.2 Floating-Point Math, NAN, and ±INF
Table
Math Expressions and CRBasic Results
(p. 409)
lists math expressions, their
CRBasic form, and IEEE floating point-math result loaded into variables declared
as FLOAT or STRING.
Summary of Contents for CR850
Page 2: ......
Page 4: ......
Page 6: ......
Page 26: ...Table of Contents 26...
Page 30: ...Section 2 Cautionary Statements 30...
Page 32: ...Section 3 Initial Inspection 32...
Page 35: ...Section 4 Quickstart Tutorial 35 Figure 2 Wiring panel...
Page 55: ...Section 4 Quickstart Tutorial 55 Figure 24 PC200W View data utility...
Page 78: ...Section 5 System Overview 78...
Page 80: ...Section 6 CR800 Specifications 80...
Page 267: ...Section 7 Installation 267 Figure 84 Running average signal attenuation...
Page 268: ...Section 7 Installation 268...
Page 384: ...Section 8 Operation 384 Figure 113 Using the keyboard display...
Page 387: ...Section 8 Operation 387 Figure 116 Real time custom...
Page 388: ...Section 8 Operation 388 8 8 1 3 Final Storage Tables Figure 117 Final storage tables...
Page 389: ...Section 8 Operation 389 8 8 2 Run Stop Program Figure 118 Run Stop Program...
Page 390: ...Section 8 Operation 390 8 8 3 File Display Figure 119 File display...
Page 396: ...Section 8 Operation 396...
Page 402: ...Section 9 Maintenance 402...
Page 450: ...Section 11 Glossary 450...
Page 504: ...Appendix A CRBasic Programming Instructions 504...
Page 526: ...Appendix B Status Table and Settings 526...
Page 530: ...Appendix C Serial Port Pinouts 530...
Page 536: ...Appendix E FP2 Data Format 536...
Page 550: ...Appendix F Other Campbell Scientific Products 550...
Page 565: ......