451
Appendix A. CRBasic Programming
Instructions
Read More! Parameter listings, application information, and code examples are
available in CRBasic Editor (p. 109) Help.
All CR800 CRBasic instructions are listed in the following sub-sections. Select
instructions are explained more fully, some with example code, in Programming
Resource Library
(p. 151). Example code is throughout the CR800 manual. Refer
to the table of contents Example index.
A.1 Program Declarations
AngleDegrees
Setsmathfunctionstousedegreesinsteadofradians.
Syntax
AngleDegrees
PipelineMode
Configuresdataloggertoperformmeasurementtasksseparatefrom,but
concurrentwith,processingtasks.
Syntax
PipelineMode
SequentialMode
Configuresdataloggertoperformtaskssequentially.
Syntax
SequentialMode
SetSecurity
Setsnumericpasswordfordataloggersecuritylevels1,2,and3.Executesat
compiletime.
Syntax
SetSecurity(security[1], security[2], security[3])
StationName
SetsthestationnameinternaltotheCR800.Doesnotaffectdatafilesproduced
bysupportsoftware.SeesectionsCRBasicexampleMiscellaneousFeatures
(p.244)
demonstratesuseofseveralCRBasicfeatures:datatype,units,names,event
counters,flags,dataintervals,andcontrol.
andCRBasicexampleConditional
Output
(p.252)demonstratesprogrammingtooutputdatatoadatatable
conditionalonatriggerotherthantime.
.
Syntax
StationName(name of station)
Sub/ExitSub/EndSub
Declaresthename,variables,andcodethatformaSubroutine.Argumentlistis
optional.ExitSubisoptional.