Specifications
Section 10. CRBASIC Programming Instructions
10-2
ESSVariables
Automatically declares all the variables required for the datalogger when used
in an Environmental Sensor Station application. Used in conjunction with
ESSInitialize.
Syntax
ESSVariables
PipelineMode
Configures datalogger to perform measurement tasks separate from, but
concurrent with, processing tasks.
Syntax
PipelineMode
PreserveVariables
Retains in memory the values for variables declared by the Dim or Public
statements.
Syntax
PreserveVariables
Public
Declares and dimensions public variables. Dimensions are optional.
Syntax
Public [variable name (x,y,z)]
SetSecurity
Sets numeric password for datalogger security levels 1, 2, and 3. Security[I]
are constants. Executes at compile time.
Syntax
SetSecurity (security[1], security[2], security[3])
SequentialMode
Configures datalogger to perform tasks sequentially.
Syntax
SequentialMode
Station Name
Sets the station name internal to the CR1000. Does not affect data files
produced by support software.
Syntax
StationName [name of station]
Sub, Exit Sub, End Sub
Declares the name, variables, and code that form a Subroutine. Argument list
is optional. Exit Sub is optional.
Syntax
Sub [subroutine name] [(argument list)]
[ statement block ]
Exit Sub
[ statement block ]
End Sub
Units
Assigns a unit name to a field associated with a variable.
Syntax
Units [variable] = [unit name]