3-1
Section 3. Programming
This section describes how to program your AWS, either by using Campbell Scientific’s
`point-and-click’ program building software Short Cut (part of PC200W), or, for more
experienced programmers, by using Edlog or the CRBasic Editor, part of the more advanced
Datalogger Support packages, PC400 or LoggerNet.
3.1
Introduction
Your standard AWS will normally be programmed using Short Cut, an easy to use
program builder, which is part of Campbell Scientific’s datalogger support
software package, PC200W. Short Cut covers all of the standard sensors and
produces a wiring diagram which should always be used when wiring up your
sensors and peripherals. The use of Short Cut and the PC200W software is fully
explained in the PC200W User Guide.
If you are a more experienced datalogger programmer, and the programs provided
by Short Cut do not fully meet your needs, for example if you wish to use a `non-
standard’ sensor, then you can write or edit your own programs using the Edlog or
the CRBasic program editor which is part of the optional PC400 and LoggerNet
datalogger support software packages. The new or edited program can then be
downloaded to the datalogger as described below.
3.1.1
Programming
After installing the software as described in the User Guide, use the datalogger
program as follows:
1.
Set up the link between your PC and the datalogger. The simplest method is a
direct link using the SC32B opto-isolated interface or an SC929 Interface
Cable. Refer to the manuals for the interface you are using for connection
details. No separate interface is required for the CR23X, CR3000 or CR1000.
If you intend to use a different link (such as a telephone or short-haul modem)
consult the instruction manuals for the appropriate device.
2.
Turn on the datalogger. For a datalogger with the PS100E power supply,
connect the power using the in-line connector between the power supply and
the datalogger. (The lead-acid battery in a PS100E-LA is also shipped
disconnected and should be plugged into the charger circuit.)
The PS100E-LA supply has a power switch under the battery cover.
After turning the datalogger on, leave it for at least one minute to complete its
power-up tests (see datalogger manual for details of power-up sequence).
3.
Use the communications setup in PC200W/PC400/LoggerNet to call the AWS
as described in the appropriate software manual.
4.
Also use the appropriate function of PC200W, PC400 or LoggerNet to
download the datalogger program you created earlier to the AWS.
5.
Use the other functions of the software as required. For example, you can set
the datalogger clock and monitor the sensor readings to verify that the sensors
have been installed correctly. See the appropriate software manual for details.