3 a150/cws900, 4 programming, 1 crbasic programming – Campbell Scientific CS451/CS456 Pressure Transducer User Manual
Page 22: A150/cws900, Programming, Crbasic programming
CS451/CS456 Submersible Pressure Transducer
7.3.3 A150/CWS900
The A150 desiccated case allows the CS451/CS456 to be connected to the
CWS900 wireless sensor and then used in a wireless network. FIGURE 7-2
shows the CS451 wired to the A150’s terminal block. The 26972 cable is
included with the A150.
FIGURE 7-2. A150 wired for CS451 pressure sensor and CWS900
connector
7.4 Programming
Short Cut is the best source for up-to-date datalogger programming code.
Programming code is needed,
•
when creating a program for a new datalogger installation
•
when adding sensors to an existing datalogger program
If your data acquisition requirements are simple, you can probably create and
maintain a datalogger 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.
Short Cut cannot edit programs after they are imported and edited
in CRBasic Editor.
A Short Cut tutorial is available in Section 4, Quickstart. If you wish to import
Short Cut code into either Edlog or CRBasic Editor to create or add to a
customized program, follow the procedure in Appendix A.1, Importing Short
Cut Code into a Program Editor. Programming basics for CRBasic and Edlog
dataloggers are provided in the following sections. Complete program
examples for select dataloggers can be found in Appendix B, Example
Programs.
7.4.1 CRBasic Programming
The
SDI12Recorder() measurement instruction programs CRBasic
dataloggers (CR200(X)-series, CR800-series, CR1000, CR3000, and CR5000)
to measure the CS451/CS456 sensor. This instruction sends a request to the
sensor to make a measurement and then retrieves the measurement from the
sensor. See Section 8.2, SDI-12 Commands, for more information.
NOTE
12