Instruction manual

SECTION 2. PROGRAM: EDLOG
PC208W, Version 3.0, Instruction Manual 2-7
2.6.1 EDITING COMMENTS, INSTRUCTIONS,
AND EXPRESSIONS
To edit Comments, Expressions, and
Instruction parameters, move the cursor to the
appropriate text and retype it. To delete an
instruction when the cursor is somewhere within
the instruction, select EDIT | DELETE
INSTRUCTION or press <shift> Del. An
instruction or block of instructions can also be
highlighted and deleted with the delete key.
2.6.2 CUT, COPY, PASTE, AND CLIPBOARD
OPTIONS
EDIT | CUT, EDIT | COPY, and EDIT | PASTE
allow sections of the program to be moved or
copied to another area of the program or
between programs. EDIT | SHOW CLIPBOARD
shows the contents of the clipboard.
NOTE: You cannot move, copy, delete or
comment out protected text (Tables,
Execution Intervals). To move, copy or
delete an Instruction, the entire instruction,
including all of the parameters, must be
selected.
Cutting and pasting between datalogger
programs should be between programs for the
same datalogger type only. Instructions and
parameters may differ between dataloggers.
The compiler will catch many of these errors;
however, this may be at the expense of much
time and confusion.
2.6.3 LIBRARY FILES
Library files can be created to store portions of
programs. The library file can be inserted into a
program at a later time. To create a library file,
select the text to be stored and then EDIT |
SAVE TO LIBRARY FILE. When the window
appears, type in the library filename.
To insert a library file in a program, move the
cursor where the file is to go and select EDIT |
INSERT LIBRARY FILE. Library files created
for one type of datalogger type should not be
used in programs for a different type; i.e., a file
for a CR10X should not be used in a program
for a 21X.
2.6.4 RENUMBERING THE INSTRUCTIONS
When Automatic Renumbering is enabled, the
instructions are automatically renumbered
whenever instructions are inserted or deleted.
By default, Automatic Renumbering is enabled.
To improve performance on slow computers,
the Automatic Renumbering can be disabled by
selecting OPTIONS | EDITOR. A blank in the
box next to Automatic Renumbering indicates
this option is disabled. When Automatic
Renumbering is disabled, the user can
periodically renumber the instructions by
selecting DISPLAY | RENUMBER.
2.6.5 COMPRESS VIEW
When DISPLAY | COMPRESS VIEW is
selected, the first line of each instruction is
displayed. The compressed view makes it
easier to see the program structure and to
move around in the program.
Instructions cannot be edited in the compress
View’s window. Use DISPLAY |
UNCOMPRESS to switch back to the full view
or use the <F7> function key to toggle between
the compressed and full views.
2.7 INPUT LOCATIONS
Each Input Location has an Input Location
number and a label that appear whenever the
Input Location is referenced in the program.
EDLOG automatically assigns Input Location
numbers as labels are entered.
2.7.1 ENTERING INPUT LOCATIONS
When a parameter requires an Input Location,
the cursor automatically advances to where the
label is keyed-in. When a new label is entered,
the next available Input Location number is
automatically assigned to that label. To select
an existing label from a list, press the right
mouse button or <F6>.
Labels can have up to nine characters. The
first character must be a letter. The allowed
characters are letters, numbers, and _. The
following labels are reserved for expressions
and should not be entered by the user: CSI_R,
CSI_2, CSI_3, . . . CSI_95.
To move to the parameter to enter the Input
Location number instead of the label, use the
mouse or press <ctrl> left arrow.