
Section 18. Troubleshooting
153
18.1.2 NAN and ±INF
NAN (not-a-number) and ±INF (infinite) are data words indicating an
exceptional occurrence in CR200(X) function or processing. NAN is a constant
that can be used in expressions such as in
CRBASIC EXAMPLE. Using NAN in
Expressions
(p. 153) NAN can also be used in the disable variable (DisableVar)
in output processing (data storage) instructions, as indicated in
CRBASIC
EXAMPLE. Using NAN in Expressions
p. 153.
CRBASIC EXAMPLE 21.
Using NAN in Expressions
If WindDir = NAN Then
WDFlag = True
Else
WDFlag=False
EndIf
18.1.2.1 Measurements and NAN
A NAN indicates an invalid measurement.
18.1.2.1.1
Voltage Measurements
The CR200(X) measures voltage inputs ranging from 0 to 2500 mV. Input
signals that exceed this ranges result in an over range indicated by a NAN for
the measured result. 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 could
temporarily impersonate a valid measurement.
18.1.2.1.2
SDI-12 Measurements
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.
18.1.2.2 Floating Point Math, NAN, and ±INF
TABLE. Math Expressions and CRBASIC Results
(p. 154) lists math
expressions, their CRBASIC form, and IEEE floating point math result for the
CR200(X).
Summary of Contents for CR200
Page 32: ...Section 2 Quickstart Tutorial 22 ...
Page 45: ...Section 3 Overview 35 3 3 Specifications ...
Page 46: ...Section 3 Overview 36 ...
Page 58: ...Section 4 Sensor Support 48 ...
Page 62: ...Section 5 Measurement and Control Peripherals 52 ...
Page 78: ...Section 8 CR200 X Configuration 68 ...
Page 102: ...Section 9 Programming 92 ...
Page 138: ...Section 11 Programming Resource Library 128 ...
Page 156: ...Section 16 Support Software 146 ...
Page 160: ...Section 17 Care and Maintenance 150 ...
Page 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Page 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Page 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Page 170: ...Section 18 Troubleshooting 160 ...
Page 184: ...Appendix A Glossary 14 ...
Page 190: ...Appendix B Status Table and Settings 20 ...
Page 192: ...Appendix C Serial Port Pin Outs 22 ...
Page 211: ......