EasyManua.ls Logo

Campbell CR850 - Constant Declarations; Data-Table Declarations; Data-Table Modifiers

Campbell CR850
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A. CRBasic Programming Instructions
453
ReadOnly
Flagsacommaseparatedlistofvariables(PublicorAliasname)asreadonly.
Syntax
ReadOnly [variable1, variable2, ...]
Units
Assignsaunitnametoafieldassociatedwithavariable.
Syntax
Units [variable] = [unit name]
A.1.2 Constant Declarations
Const
Declaressymbolicconstantsforuseinplaceofnumericentries.
Syntax
Const [constant name] = [value or expression]
ConstTable/EndConstTable
Declaresconstants,thevalueofwhichcanbechangedusingtheexternal
keyboard/displayorterminalCoption.Theprogramisrecompiledwiththenew
valueswhenvalueschange.SeeConstants
(p.122).
Syntax
ConstTable
[constant a] = [value]
[constant b] = [value]
[constant c] = [value]
EndConstTable
A.2 Data-Table Declarations
DataTable/EndTable
Markthebeginningandendofadatatable.
Syntax
DataTable(Name, TrigVar, Size)
[data table modifiers]
[on-line storage destinations]
[output processing instructions]
EndTable
DataTime
Declarationwithinadatatablethatallowstimestampingwithsystemtime.
Syntax
DataTime(Option)
A.2.1 Data-Table Modifiers
DataEvent
Setstriggerstostartandstopstoringrecordswithinatable.Oneapplicationis
withWorstCase.
Syntax
DataEvent(RecsBefore, StartTrig, StopTrig, RecsAfter)

Table of Contents

Related product manuals