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).
Содержание CR200
Страница 32: ...Section 2 Quickstart Tutorial 22 ...
Страница 45: ...Section 3 Overview 35 3 3 Specifications ...
Страница 46: ...Section 3 Overview 36 ...
Страница 58: ...Section 4 Sensor Support 48 ...
Страница 62: ...Section 5 Measurement and Control Peripherals 52 ...
Страница 78: ...Section 8 CR200 X Configuration 68 ...
Страница 102: ...Section 9 Programming 92 ...
Страница 138: ...Section 11 Programming Resource Library 128 ...
Страница 156: ...Section 16 Support Software 146 ...
Страница 160: ...Section 17 Care and Maintenance 150 ...
Страница 166: ...Section 18 Troubleshooting 156 18 3 3 Diagnosis and Fix Procedures 18 3 3 1 Battery Voltage Test ...
Страница 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Страница 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Страница 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Страница 170: ...Section 18 Troubleshooting 160 ...
Страница 184: ...Appendix A Glossary 14 ...
Страница 190: ...Appendix B Status Table and Settings 20 ...
Страница 192: ...Appendix C Serial Port Pin Outs 22 ...
Страница 211: ......