Instruction manual

SECTION 2. PROGRAM: EDLOG
2-4 PC208W, Version 3.0, Instruction Manual
be inserted or comments and equations can be
freely typed in.
Like the execution interval, instructions consist
of protected text and fields where parameters
are entered. With data entry warnings enabled
(default), EDLOG prevents leaving a field with
an incorrect value.
2.3 COMMENTS
Comments are entered to describe the program
for the programmer or future users. Comments
are ignored by the compiler; they can be
entered anywhere in the EDLOG program. A
semicolon (;) is used to mark comments. When
the compiler finds a semicolon in a line, it
ignores the rest of the line. Instructions can be
commented out to test various versions of a
program or to delete a measurement.
In addition to typing a semicolon at the
beginning of each line while entering comments,
there are several ways to comment and
uncomment lines, instructions, or blocks of
code:
Select “comment” or “uncomment” from the
right button menu (highlighted block only).
Select FILE | COMMENT or FILE |
UNCOMMENT from the EDLOG toolbar.
Press <ctrl> n. The line, instruction or
highlighted block will become a comment.
Press <shift><ctrl> n. The line, instruction
or highlighted block will be uncommented.
Press <End> to move to the right of the
protected text of an instruction and enter a
comment.
EDLOG will not allow a portion of an instruction
or the table execution intervals to be
commented out.
2.4 INSTRUCTIONS
Instructions must be entered in one of the
program tables. Instructions are added to a
program with the Insert Instruction Dialog box.
(Programmers with a great memory can type
the instruction number on a blank line and press
<enter>.) To get the Insert Instruction box,
either:
Point the mouse cursor at the blank line
where you want the instruction and press
the right button.
Select EDIT | INSERT INSTRUCTION
Press <shift> <Insert>
Select the instruction with the mouse or by
moving the cursor keys and click OK. If you
need more information on an instruction,
highlight the instruction and press the Help
button.
FIGURE 2.4-1. Insert Instruction Dialog Box
2.4.1 ENTERING PARAMETERS
When an instruction is inserted, the cursor
moves to the first parameter. Type the
parameter's value and press <enter> to move to
the next parameter. For help with the
parameter:
Point the mouse cursor at the parameter
and press the right button. This brings up a
Dialog box for selecting the parameter or a
pop up description of what needs to be
entered.
Press <F1>. This opens the help system to
the detailed description of the instruction
and parameters.
Repeat the process until all of the parameters
have been entered.
NOTE: The instructions and their
parameters are datalogger specific; to find
the description of an instruction, refer to the
specific datalogger manual.