Section 7. Creating and Editing Datalogger Programs
7.4.7 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>.
You may prefer to enter all input locations into the Edlog program before
writing the program. This makes all the labels available from the input
location pick list, and can help reduce programming errors because of typos.
Labels can have up to 9 characters for mixed-array dataloggers and 14
characters for table-based dataloggers. The first character must be a letter. The
allowed characters are letters, numbers, and the underscore character ( _ ). The
following labels are reserved for expressions and should not be entered by the
user: CSI_R, CSI_2, CSI_3,... CSI_95.
To enter the Input Location number instead of the label, use the mouse or press
<ctrl> left arrow.
7.4.8 Repetitions
Many input/output and output processing instructions have a repetitions
parameter. Repetitions (REPS) allow one programming instruction to measure
several identical sensors or to process data from several Input Locations.
When REPS are greater than 1, the Input Locations are assigned consecutive
numbers (e.g., with REPS of 2 and LOC of 5, the Input Locations are 5 and 6).
Each rep label is the initial label with a “_” and the next consecutive number
(i.e., with 3 REPS and a label of “data” the labels for each REP are: data_1,
data_2, and data_3).
Only the first input location of an instruction is linked to the instruction. Reps
of input/output instructions and output processing instructions are not linked,
so use care if altering their sequence in the Input Locations Editor.
As an example, in the following section of an Edlog program, the TempC and
BatteryV Input Locations are sampled with one sample (P70) instruction, with
the REPS parameter of 2.
10: Temperature (107) (P11)
1: 1
REPS
2: 2
Channel
3: 1
Excitation
Channel
4: 1
Loc
[TempC]
5: 1
Mult
6: 0
Offset
11: Battery, Volt (P10)
1: 2
Loc
[BatteryV]
7-68
Содержание LoggerNet
Страница 2: ......
Страница 30: ...Preface What s New in LoggerNet 4 xxvi...
Страница 32: ...Section 1 System Requirements 1 2...
Страница 44: ...Section 2 Installation Operation and Backup Procedures 2 12...
Страница 136: ...Section 4 Setting up Datalogger Networks 4 80...
Страница 227: ...Section 7 Creating and Editing Datalogger Programs 7 9...
Страница 298: ...Section 7 Creating and Editing Datalogger Programs 7 80...
Страница 402: ...Section 9 Automating Tasks with Task Master 9 12...
Страница 406: ...Section 9 Automating Tasks with Task Master 9 16...
Страница 450: ...Section 11 Utilities Installed with LoggerNet Admin and LoggerNet Remote 11 22...
Страница 454: ...Section 12 Optional Client Applications Available for LoggerNet 12 4...
Страница 462: ...Section 13 Implementing Advanced Communications Links 13 8...
Страница 482: ...Section 14 Troubleshooting Guide 14 20...
Страница 570: ...Appendix F Calibration and Zeroing F 16...
Страница 578: ...Appendix G Importing Files into Excel G 8...
Страница 579: ......