Section 7. Creating and Editing Datalogger Programs
Tablename
.record(1,n) = the record number of the record output n records ago.
Tablename
.output(1,1) = 1 if data were output to the table the last time the
table was called, = 0 if data were not output.
Tablename
.timestamp(m,n) = element m of the timestamp output n records ago
where:
timestamp(1,n) = microseconds since 1990
timestamp(2,n) = microseconds into the current year
timestamp(3,n) = microseconds into the current month
timestamp(4,n) = microseconds into the current day
timestamp(5,n) = microseconds into the current hour
timestamp(6,n) = microseconds into the current minute
timestamp(7,n) = microseconds into the current second
Tablename
.eventend(1,1) is only valid for a data table using the DataEvent
instruction,
Tablename
.eventend(1,1) = 1 if the last record of an event occurred
the last time the table was called, = 0 if the data table did not store a record or
if it is in the middle of an event.
TableName
.EventCount = the number of data storage events that have occurred
in an event driven DataTable.
TableName
.Tablefull = 1 to indicate a fill and stop table is full or a ring-mode
table has begun overwriting its oldest data, = 0 if the data table is not
full/begun overwriting oldest data.
TableName
.TableSize = the size allocation, in number of records, of the
selected DataTable.
The values of Tablename.output(1,1) and Tablename.eventend
(1,1) are only updated when the tables are called.
NOTE
7.4 Edlog
7.4.1 Overview
Edlog is a tool for creating, editing, and documenting programs for Campbell
Scientific’s mixed-array dataloggers: CR7, CR500, CR510, CR10, CR10X,
21X, CR23X. Edlog also supports these same dataloggers configured with
table-based operating systems, including the table-data or “TD” and PakBus or
“PB” versions. It provides a dialog box from which to select instructions, with
pick-lists and detailed help for completing the instructions’ options (or
parameters). Edlog checks for errors and potential problems in the program
when pre-compiling the program. Some highlights of Edlog’s features are
listed below.
7.4.1.1 Precompiler
Edlog precompiles the program to check for errors and to create the file that is
downloaded to the datalogger. The precompiler will catch most errors. Errors
that the precompiler misses should be caught by the datalogger when the
program is compiled. The download file (*.DLD) is stripped of comments to
7-51
Summary of Contents for LoggerNet
Page 2: ......
Page 30: ...Preface What s New in LoggerNet 4 xxvi...
Page 32: ...Section 1 System Requirements 1 2...
Page 44: ...Section 2 Installation Operation and Backup Procedures 2 12...
Page 136: ...Section 4 Setting up Datalogger Networks 4 80...
Page 227: ...Section 7 Creating and Editing Datalogger Programs 7 9...
Page 298: ...Section 7 Creating and Editing Datalogger Programs 7 80...
Page 402: ...Section 9 Automating Tasks with Task Master 9 12...
Page 406: ...Section 9 Automating Tasks with Task Master 9 16...
Page 450: ...Section 11 Utilities Installed with LoggerNet Admin and LoggerNet Remote 11 22...
Page 454: ...Section 12 Optional Client Applications Available for LoggerNet 12 4...
Page 462: ...Section 13 Implementing Advanced Communications Links 13 8...
Page 482: ...Section 14 Troubleshooting Guide 14 20...
Page 570: ...Appendix F Calibration and Zeroing F 16...
Page 578: ...Appendix G Importing Files into Excel G 8...
Page 579: ......