![background image](http://html1.mh-extra.com/html/campbell/cr300-series/cr300-series_operators-manual_3055705064.webp)
CR300-Series Datalogger
54
2.
Check wires and cables for the following:
a.
Incorrect wiring connections. Make sure each sensor and device
are wired to the channels assigned in the program. If the program
was written in
Short Cut
, check wiring against the generated
wiring diagram. If written in
CRBasic Editor
, check wiring
against each measurement and control instruction.
b.
Loose connection points
c.
Faulty connectors
d.
Cut wires
e.
Damaged insulation, which allows water to migrate into the
cable. Water, whether or not it comes in contact with wire, can
cause system failure. Water may increase the dielectric constant
of the cable sufficiently to impede sensor signals, or it may
migrate into the sensor, which will damage sensor electronics.
3.
Check the CRBasic program. If the program was written solely with
Short
Cut
, the program is probably not the source of the problem. If the program
was written or edited with
CRBasic Editor
, logic and syntax errors could
easily have crept into the code. To troubleshoot, create a stripped-down
version of the program, or break it up into multiple smaller units to test
individually. For example, if a sensor signal-to-data conversion is faulty,
create a program that only measures that sensor and stores the data, absent
from all other inputs and data. Write these mini-programs before going to
the field, if possible.
9.3 NAN and INF
NAN
(not a number) and
INF
(infinite) are data words indicating an
exceptional occurrence in datalogger function or processing.
INF
indicates that
the program has encountered an arithmetic expression that is undefined.
A
NAN
indicates an invalid measurement.
NANs
are expected in the following
conditions:
•
Input signals exceed the voltage range chosen for the measurement.
•
An invalid SDI-12 command is sent
•
An SDI-12 sensor does not respond or aborts without sending data
•
Undefined arithmetic expressions, such as 0 ÷ 0.
NAN
is a constant that can be used in expressions. This is 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
If a
NAN
is included in the values being processed,
NAN
will be stored. Note
that since there is no such thing as
NAN
for integers, values that are converted
from float to integer will be expressed in data tables as the most negative
number for a given data type. For example, the most negative number of data
Содержание CR300 series
Страница 2: ......
Страница 6: ......
Страница 68: ...CR300 Series Datalogger 58...
Страница 70: ......
Страница 85: ......