EasyManua.ls Logo

Campbell CR850 - Data-Table Access and Management

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
495
NewFile
Determinesifafilestoredonthedataloggerhasbeenupdatedsincethe
instructionwaslastrun.Typicallyusedwithimagefiles.
Syntax
NewFile(NewFileVar, "FileName")
RunProgram
Runsadataloggerprogramfilefromtheactiveprogramfile.
Syntax
RunProgram("Device:FileName", Attrib)
A.15 Data-Table Access and Management
Commands to access and manage data stored in data tables, including Public and
Status tables.
FileMark
Insertsafilemarkintoadatatable.
Syntax
FileMark(TableName)
GetRecord
Retrievesonerecordfromadatatableandstorestheresultsinanarray.Maybe
usedwithSecsSince1990().
Syntax
GetRecord(Dest, TableName, RecsBack)
ResetTable
Usedtoresetadatatableunderprogramcontrol.
Syntax
ResetTable(TableName)
SetStatus
ChangesthevalueforasettinginthedataloggerStatustable.
Syntax
SetStatus("FieldName", Value)
TableName.EventCount
Returnsthenumberofdatastorageeventsthathaveoccurredforanevent
drivendatatable.
Syntax
TableName.EventCount(1,1)
TableName.FieldName
Accessesaspecificfieldfromarecordinatable
Syntax
TableName.FieldName(FieldNameIndex, RecordsBack)

Table of Contents

Related product manuals