A.1.2 constant declarations, A.2 data-table declarations, A.2.1 data-table modifiers – Campbell Scientific CR1000 Measurement and Control System User Manual
Page 475

Appendix A. CRBasic Programming Instructions
475
ReadOnly
Flags a comma separated list of variables (Public or Alias name) as read‐only.
Syntax
ReadOnly [variable1, variable2, ...]
Units
Assigns a unit name to a field associated with a variable.
Syntax
Units [variable] = [unit name]
A.1.2 Constant Declarations
Const
Declares symbolic constants for use in place of numeric entries.
Syntax
Const [constant name] = [value or expression]
ConstTable / EndConstTable
Declares constants, the value of which can be changed using the external
keyboard / display or terminal C option. The program is recompiled with the new
values when values change. See Constants
(p. 122).
Syntax
ConstTable
[constant a] = [value]
[constant b] = [value]
[constant c] = [value]
EndConstTable
A.2 Data-Table Declarations
DataTable / EndTable
Mark the beginning and end of a data table.
Syntax
DataTable
(Name, TrigVar, Size)
[data table modifiers]
[on-line storage destinations]
[output processing instructions]
EndTable
DataTime
Declaration within a data table that allows time stamping with system time.
Syntax
DataTime(Option)
A.2.1 Data-Table Modifiers
DataEvent
Sets triggers to start and stop storing records within a table. One application is
with WorstCase.
Syntax
DataEvent(RecsBefore, StartTrig, StopTrig, RecsAfter)