Appendix a. crbasic programming instructions, A.1 program declarations – Campbell Scientific CR3000 Micrologger User Manual
Page 475

475
Appendix A. CRBasic Programming
Instructions
Read More! Parameter listings, application information, and code examples are
available in CRBasic Editor
(p. 114)
Help.
All CR3000 CRBasic instructions are listed in the following sub-sections. Select
instructions are explained more fully, some with example code, in Programming
Resource Library
(p. 156).
Example code is throughout the CR3000 manual. Refer
to the table of contents Example index.
A.1 Program Declarations
AngleDegrees
Sets math functions to use degrees instead of radians.
Syntax
AngleDegrees
PipelineMode
Configures datalogger to perform measurement tasks separate from, but
concurrent with, processing tasks.
Syntax
PipelineMode
SequentialMode
Configures datalogger to perform tasks sequentially.
Syntax
SequentialMode
SetSecurity
Sets numeric password for datalogger security levels 1, 2, and 3. Executes at
compile time.
Syntax
SetSecurity(security[1], security[2], security[3])
StationName
Sets the station name internal to the CR3000. Does not affect data files produced
by support software. See sections CRBasic example Miscellaneous Features
(p. 248)
demonstrates use of several CRBasic features: data type, units, names, event
counters, flags, data intervals, and control.
and CRBasic example Conditional
Output
(p. 256)
demonstrates programming to output data to a data table
conditional on a trigger other than time.
.
Syntax
StationName(name of station)
Sub / ExitSub / EndSub
Declares the name, variables, and code that form a Subroutine. Argument list is
optional. Exit Sub is optional.