
Appendix A. CRBasic Programming Instructions
520
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)
TableName.Output
Determineifdatawaswrittentoaspecificdatatablethelasttimethedatatable
wascalled.
Syntax
TableName.Output(1,1)
Komentarze do niniejszej Instrukcji