beautypg.com

2 reps, 3 input location editor – Campbell Scientific PC208 Datalogger Support Software User Manual

Page 40

background image

SECTION 2. EDLOG

2-8

Labels can have up to nine characters. The
first character must be a letter. The allowed
characters are numbers, letters, #, 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 enter the input location number instead of
the label, press left arrow. This will move
the cursor to where the location number is
entered; the computer's mouse can also be
used to move the cursor.

2.5.2 REPS

Many input/output and output processing
instructions have a repetition 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.

For Example: With 3 REPS and a label of
'data', the labels for each REP are: data#1,
data#2, and data#3.

Only the first location of an output processing
instruction is linked to the label. Reps of
input/output instructions and output processing
instructions are not linked.

For Example:

When the following is a section of an EDLOG
program, the TempC and BatteryV input
locations are sampled.

10:

Temperature (107) (P11)

01:

1

REPS

02:

2

Channel

03:

1

Excitation Channel

04:

1

Loc [TempC]

05:

1

Mult

06:

0

Offset

11:

Battery, Volt (P10)

01:

2

Loc [BatteryV]

12:

If time is (P92)

01:

0

minutes into interval

02:

60

minute interval

03:

10

Set high Flag 0 (output)

13:

Sample (P70)

01:

2

Reps

02:

1

Loc [TempC]

NOTE: If an input location is inserted
between the TempC and BatteryV location,
the inserted location will be sampled instead
of BatteryV.

2.5.3 INPUT LOCATION EDITOR

Input location labels and numbers can be
entered and edited by using the Input Location
Editor Screen. To access the Input Location
Editor Screen, select EDIT | INPUT LABELS.