
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
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
SetsthestationnameinternaltotheCR3000.Doesnotaffectdatafilesproduced
bysupportsoftware.SeesectionsCRBasicexampleMiscellaneousFeatures
(p.248)
demonstratesuseofseveralCRBasicfeatures:datatype,units,names,event
counters,flags,dataintervals,andcontrol.
andCRBasicexampleConditional
Output
(p.256)demonstratesprogrammingtooutputdatatoadatatable
conditionalonatriggerotherthantime.
.
Syntax
StationName(name of station)
Sub/ExitSub/EndSub
Declaresthename,variables,andcodethatformaSubroutine.Argumentlistis
optional.ExitSubisoptional.
Kommentare zu diesen Handbüchern