EasyManuals Logo

Campbell LoggerNet User Manual

Default Icon
580 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
Page #269 background imageLoading...
Page #269 background image
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell LoggerNet and is the answer not in the manual?

Campbell LoggerNet Specifications

General IconGeneral
BrandCampbell
ModelLoggerNet
CategorySoftware
LanguageEnglish