CR300-Series Datalogger
22
5.3 Configuring Datalogger Support Software
(p. 3)
, shows the steps for configuring
datalogger support software to communicate with a CR300 over a USB
connection. For other configurations, see the
EZSetup Wizard
Help
. Context-
specific help is given in each step of the wizard by clicking on the
Help
button
in the bottom right corner of the window. For complex datalogger networks,
5.4 Writing a Program
A CRBasic program directs the CR300 how and when sensors are to be
measured, calculations made, and data stored. A program is created on a PC
and sent to the CR300. The CR300 can store a number of programs in memory,
but only one program is active at a given time. Two Campbell Scientific
software applications,
Short Cut
and
CRBasic Editor
, can be used to create
CR300 programs.
For most applications,
Short Cut
is a good place to start. Section
, works through a measurement example using
Short Cut
. When
the application requires more complexity than
Short Cut
allows, enter as much
information as possible, and
Short Cut
creates a program from which to work,
already formatted with most of the proper structure, measurement routines, and
variables. The program can be edited further using
CRBasic Editor
. Appendix
Importing Short Cut Code Into CRBasic Editor
(p. A-1)
, discusses this
procedure.
Once a
Short Cut
generated program has been edited with
CRBasic Editor
, it can no longer be modified with
Short Cut
.
CRBasic Editor
is intended for use by programmers who need more
programming flexibility and control than can be provided through
Short Cut
.
This programming language is similar in syntax, program flow, and logic to the
Structured BASIC programming language.
CRBasic has special instructions
for making measurements and for creating tables of output data.
CRBasic
Editor
is a component of
LoggerNet
and
PC400
datalogger support software.
For more on CRBasic programming, refer to Appendix
(p. B-1)
.
See
CRBasic Editor Help
for detailed information on program structure,
syntax, and each instruction available to the CR300.
Watch the video:
5.5 Sending a Program
The CR300 requires that a CRBasic program file be sent to its memory to
direct measurement, processing, control, and data storage operations. The
program file may use the extension
.CR300
or
.dld
.
Options for sending a program include the following:
•
Short Cut
•
PC200W
|
Send Program…
•
PC400
|
Send Program…
NOTE
Содержание CR300 series
Страница 2: ......
Страница 6: ......
Страница 68: ...CR300 Series Datalogger 58...
Страница 70: ......
Страница 85: ......