Campbell Scientific PC208 Datalogger Support Software User Manual

Page 129

Advertising
background image

APPENDIX F. FREQUENTLY ASKED QUESTIONS

F-3

I know the number of the instruction I want
to add. How can I avoid the SHIFT+INSERT
or EDIT menu steps to add it?

Type the number starting in column one on a
blank line in EDLOG.

How can I find an instruction when I don’t
remember the number?

Press SHIFT+INSERT to display a list of
instructions. Press F1 for help with the
highlighted instructions.

Use the mouse or TAB (SHIFT+TAB) keys to
move the highlight to the Instruction Name field
and type the first few characters of the
instruction name to jump to that instruction, then
press TAB followed by RETURN to insert that
instruction.

Why did the dld file not change when I
changed my program?

You did not recompile. Changes to the CSI file
are reflected in the DLD file following a compile
operation.

EDLOG does not allocate Input Locations
for some instructions?

There are a some instructions that are
exceptions to the way EDLOG allocates Input
Locations and tracks Final Storage. These
instructions may require the user to manually
allocate Input Locations.

Instruction 49 Spatial Maximum

This instruction finds the maximum value from a
“swath” of adjacent Input locations. It is stored
in the location specified in the third parameter.
This instruction can also return the address
(number) of the location that contained the
maximum. To do this, add 1000 to the location
number for parameter three. For example, the
following instruction stores the maximum value,
found in location 1 (Temp#1) through location 6
(Temp#6), in location 7 (Max_value).

10:

Spatial Maximum (P49)

1:

6

Swath

2:

1

First Loc [ Temp#1 ]

3:

7

Max Option [ Max_value ]

Alter the location number for parameter three as
follows, store the maximum value in location 7
(Max_value) and the location address (number)
where the maximum was found in location 8.

1:

Spatial Maximum (P49)

1:

6

Swath

2:

1

First Loc [ Temp#1 ]

3:

1007

Max Option [ Max_value ]

Location 8 must be named in the Location
Editor (press F5). Use the mouse or Ctrl+left
arrow to move the cursor to the location number
while on the third parameter.

Instruction 50 Spatial Minimum

See Instruction 49 Spatial Maximum

Instruction 54 Block Move

1:

Block Move (P54)

1:

1

No. of Values

2:

0000

First Source Loc [ _________ ]

3:

00

Source Step

4:

0000

First Destination Loc
[ _________ ]

5:

00

Destination Step

This instruction copies the values in a set of
locations to another set of locations. Using the
STEP parameters (parameters 3 and 5) it is
possible to copy from and/or store to a set of
locations that are not adjacent. For example, a
SOURCE STEP of 2 would copy the values
from every other location. When displaying the
READ and WRITE flags and when allocating
and naming locations written to, EDLOG always
assumes the STEP parameters are set to 1.
This means the user is responsible for naming
and allocating locations if either or both STEP
values are not 1.

Advertising