EasyManua.ls Logo

Campbell ClimaVUE 50 - Data Logger Programming; SDI-12 Programming Details

Campbell ClimaVUE 50
56 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7.4 Programming
Short Cut is the best source for up-to-date data logger programming code. 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 QuickStart (p. 2). If you wish to import Short Cut code into
CRBasic Editor to create or add to a customized program, follow the procedure in Importing
Short Cut code into CRBasic Editor (p. 37). Programming basics for CRBasic data loggers are
provided in the following section. Downloadable example program is available at
www.campbellsci.com/downloads/climavue50-example-program.
7.4.1 SDI-12 programming
The SDI12Recorder() instruction is used to measure a ClimaVUE 50. This instruction sends a
request to the sensor to make a measurement and then retrieves the measurement from the
sensor. See Sensor measurements (p. 21) for more information.
For most data loggers, the SDI12Recorder() instruction has the following syntax:
SDI12Recorder(Destination, SDIPort, SDIAddress, “SDICommand, Multiplier,
Offset, FillNAN, WaitonTimeout)
For the SDIAddress, alphabetical characters need to be enclosed in quotes (for example, A”).
Also enclose the SDICommand in quotes as shown. The Destination parameter must be an
array. The required number of values in the array depends on the command (see Table 8-1 (p.
22)).
FillNAN and WaitonTimeout are optional parameters (refer to CRBasic Help for more
information).
ClimaVUE 50 Compact Digital Weather Sensor 20

Related product manuals