Instruction manual

SECTION 2. PROGRAM: EDLOG
2-10 PC208W, Version 3.0, Instruction Manual
2.8 INDENTION
Indention is typically used with If Then/Else
sequences and loops to provide a visual key to
the program execution. Indention is to assist
the person looking at the program; it has no
meaning to the datalogger. If the programmer
chooses to use indention, it can be done
automatically or manually.
The settings for indention are found under
OPTIONS | EDITOR. Turn on Automatic
Indention by checking the box next to it. The
distance for each indention (in spaces) is set on
the same Dialog box.
To manually indent an instruction, place the
cursor on one of the instruction’s parameters
and press either <ctrl> right arrow or <ctrl> left
arrow; the instruction is indented the direction
the arrow is pointing.
DISPLAY | REBUILD INDENTION resets all
existing indentions and rebuilds automatic
indentions. Automatic indentions may need to
be rebuilt when editing instructions cause the
indentions to get misaligned.
2.9 FILE TYPES
2.9.1 PROGRAM DOCUMENTATION, *.CSI
*.CSI files are the EDLOG program files that the
user edits. When an EDLOG program is saved,
EDLOG automatically adds a .CSI extension to
the program's name. Existing .CSI files can be
loaded into EDLOG by selecting FILE | OPEN.
Although .CSI files are ASCII files, editing the
files with a text editor can affect the EDLOG
files so that they no longer compile.
2.9.2 DOWNLOAD FILES, *.DLD
.DLD files are files which can be downloaded to
a datalogger. They are produced by compiling
an EDLOG program or by retrieving a program
from the datalogger. Whenever an EDLOG
program is compiled, any existing .DLD files
with the same name are overwritten. .DLD files
that were created with an older version of
EDLOG or created with the keyboard/display
can be documented by selecting FILE |
DOCUMENT DLD.
2.9.3 FINAL STORAGE LABEL FILES, *.FSL
.FSL files list the final storage labels. The .FSL
files are used by SPLIT to help select output
values. These files can be viewed with FILE |
VIEW.
These files are produced by EDLOG when the
program is compiled. Whenever an EDLOG
program is compiled, any existing .FSL files with
the same name are overwritten.
2.9.4 PROGRAM TRACE INFORMATION FILES,
*.PTI
.PTI files show the execution times for each
instruction, block (e.g., subroutine), and table as
well as the number of final storage locations
used per day. The execution times are
estimates. .PTI files do not account for If
commands, Else commands, or repetitions of
loops. For some instructions, the execution
times are listed as 0. This occurs when the
execution time is difficult to calculate (e.g.,
Burst Mode).
.PTI files can be viewed with FILE | VIEW.
These files are produced by EDLOG when the
program is compiled. Whenever an EDLOG
program is compiled, any existing .PTI files with
the same name are overwritten.
2.9.5 PRINTER OUTPUT FILES, *.TXT
.TXT files are EDLOG programs that can be
printed or used with a text editor. They are
produced by selecting FILE | PRINT TO FILE.
2.9.6 LIBRARY FILES, *.LBR
Library files allow a section of a program to be
inserted into any EDLOG program. To avoid
programming errors, the library file and the
EDLOG file should be for the same type of
datalogger.