Table 7-1: Wire color, function, and data logger connection
Wire color
Wire function
Data logger connection
White
SDI-12 signal
C, SDI-12, or U configured for SDI-12
1
Clear
Shield
G
Red
Power
12V
Black
Power ground
G
1
U and C terminals are automatically configured by the measurement instruction.
For the CR6 and CR1000X data loggers, triggering conflicts may occur when a companion
terminal is used for a triggering instruction such as
TimerInput()
,
PulseCount()
, or
WaitDigTrig()
. For example, if the SN500SS is connected to C3 on a CR1000X, C4 cannot be
used in the
TimerInput()
,
PulseCount()
, or
WaitDigTrig()
instructions.
7.2 Programming
Short Cut
is the best source for up-to-date programming code for Campbell Scientific data
loggers. If your data acquisition requirements are simple, you can probably create and maintain a
data logger program exclusively with
Short Cut
. If your data acquisition needs are more complex,
the files that
Short Cut
creates are a great source for programming code to start a new program
or add to an existing custom program.
NOTE:
Short Cut
cannot edit programs after they are imported and edited in
CRBasic Editor
.
A
Short Cut
tutorial is available in
(p. 1). If you wish to import
Short Cut
code into
CRBasic Editor
to create or add to a customized program, follow the procedure in
Short Cut code into CRBasic Editor
(p. 15). Programming basics for CRBasic data loggers are
provided in the following section. Downloadable example program is available at
www.campbellsci.com/downloads/sn500ss-example-program
.
7.2.1 CRBasic programming
The
SDI12Recorder()
instruction is used to measure an SN500SS. This instruction sends a
request to the sensor to make a measurement and then retrieves the measurement from the
sensor. See
(p. 11) for more information.
For most data loggers, the
SDI12Recorder()
instruction has the following syntax:
SDI12Recorder
(Destination, SDIPort, SDIAddress, “SDICommand”, Multiplier, Offset,
FillNAN, WaitonTimeout)
SN500SS Net Radiometer
7