Section 8. Datalogger Program Creation with Edlog
8.1.5.2 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. Automatic renumbering can be turned off
by selecting Options | Editor if you have a very large program and auto
renumbering is slowing down editing. If automatic renumbering is disabled,
you can manually renumber the instructions by selecting Display | Renumber.
8.1.5.3 Compress VIEW
When Display | Compress is selected, only 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 mode. Use Display |
Uncompressed to switch back to the full view or use the <F7> function key to
toggle between the compressed and full views.
8.1.5.4 Indention
Indention is typically used with If Then/Else sequences and loops to provide a
visual key to program flow. Indention is a visual aid; 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.
The Display | Rebuild Indention menu item resets all existing indentions and
rebuilds automatic indentions. Automatic indentions may need to be rebuilt
when editing instructions causes the indentions to misalign.
8.2 Input Locations
An input location is the space in datalogger memory where the most recent
value is stored for each sensor. Each time a sensor is scanned, the input
location is overwritten with a new value. Input locations are referenced in the
datalogger by number.
In an Edlog program, 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.
8-16
Summary of Contents for PC400
Page 2: ......
Page 16: ...Section 1 Introduction 1 6...
Page 18: ...Section 2 System Requirements 2 2...
Page 46: ...Section 4 The PC400 Main Screen 4 24...
Page 49: ...Section 5 Split 5 3...
Page 82: ...Section 5 Split 5 36...
Page 114: ...Section 6 View 6 14...
Page 132: ...Section 7 Short Cut Program Generator 7 18...
Page 188: ...Section 9 Datalogger Program Creation with CRBasic Editor 9 30...
Page 230: ...Appendix B Table Based Dataloggers B 12...
Page 249: ......