Campbell Scientific CR10 CR10 Measurement and Control - Page 146

altered, Swath

Page 146 highlights

SECTION 10. PROCESSING INSTRUCTIONS Farameter 3 cannot be entered as an indexed location within a loop (lnstruction 87). To use Instruction 49 within a loop, enter Parameter 3 as a fixed location and follow 49 with the lnstruction 31 (Move Data). In Instruction 31, enter the location in which 49 stores its result as the source (fixed) and enter the destination as an indexed location. PARAM. NUMBER TDAYTAPE DESCRIPTION 01: 02: 4 Swath lswATHl 4 Starting input location [1Sr LOC] 03: 4 Dest. input location for maximum [MAX or Z] Input locations altered: 1 or 2 *** 50 SPATIAL MINIMUM *** FUNCTION Find the spatial minimum (SPA MIN) value of the given set or SWATH of input locations and place the result in an input location. To find the input location where the minimum value occurs, follow the instructions given above for SPATIAL MAXIMUM. Parameter 3 cannot be entered as an indexed location in a loop. Within a loop, Instruction 50 must be used in conjunction with lnstruction 31 as described for lnstruction 49. PARAM. NUMBER TDAYTAPE DESCRIPTION 01: 4 Swath ISWATH] 02: 4 Starting input location [1ST LOC] 03: 4 Dest. input location for minimum [MlN or Z] f nput locations altered: 1 or 2 *** 51 SPATIAL AVERAGE *** FUNCTION Take the spatial average (SPA AVG) over the given set or SWATH of input locations and place the result in an input location. PARAM. DATA NUMBER TYPE DESCRIPTION 4 Swath lswA 4 Starting input location [1ST Dest. input location of average [AVG or lnput locations altered: 1 *** 53 SCALING ARRAY WITH *** MULTIPLIER AND OFFSET FUNCTION Take 4 input location values, multiply each by a floating point constant, then add another floati point constant to the resulting products and place the final results back into each of the original 4 input locations. PARAM. DATA NUMBER TYPE DESCRIPTION 01: 4 First input location ISTRT 02: FP Multiplier 1 tAll 03: FP Offset 1 tBll O4: FP Multiplier 2 tA2l 05: FP Offset 2 lB2l 06: FP Multiplier 3 lA3l 07: FP Otfset 3 lB3I 08: FP Multiplier 4 lA4l 09: FP Offset 4 tB4l f nput locations altered: 4 *** 54 BLOCK MOVE *** FUNCTION Executes a "block move" of data in input locations. Parameters specify the number of values to move, the source, source step, destination, and destihation step. The "step" parameters designate the increment of the source and destination input locations for each value that is moved. For example, a "source step" of 2 and a "destination step" of 1 will move data from every other input location to a contiguous block of input locations. 10-4

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238

SECTION
10.
PROCESSING INSTRUCTIONS
Farameter
3
cannot be entered as an indexed
location within
a
loop (lnstruction
87).
To
use
Instruction 49 within
a
loop,
enter
Parameter
3
as
a
fixed
location and follow 49 with
the
lnstruction
31
(Move
Data).
In Instruction 31, enter
the
location
in
which 49
stores
its result as
the
source (fixed)
and enter the destination as
an
indexed location.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
4
Swath
lswATHl
02:
4
Starting input location
[1Sr
LOC]
03:
4
Dest. input location
for
maximum
[MAX
or
Z]
Input locations
altered:
1
or
2
***
50
SPATIAL MINIMUM
***
FUNCTION
Find
the
spatial minimum (SPA MIN) value
of
the
given set or SWATH
of
input locations and
place
the
result
in
an
input
location.
To find
the
input location where
the
minimum value occurs,
follow
the
instructions given above
for
SPATIAL
MAXIMUM.
Parameter
3
cannot be entered as an indexed
location in a
loop.
Within
a loop,
Instruction 50
must
be
used
in
conjunction
with
lnstruction
31
as described
for
lnstruction
49.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
Swath
ISWATH]
02:
4
Starting input location
[1ST
LOC]
4
Dest. input location
for
minimum
[MlN
or Z]
f
nput locations
altered:
1
or
2
***
51
SPATIAL
AVERAGE
***
FUNCTION
Take the spatial
average
(SPA AVG) over
the
given set or SWATH
of
input locations and
place
the
result
in
an
input location.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
Swath
lswA
Starting input location
[1ST
Dest. input location of
average
[AVG
or
lnput
locations
altered:
1
***
53
SCALING ARRAY
WITH
***
MULTIPLIER AND
OFFSET
FUNCTION
Take
4
input location values, multiply each by
a
floating
point constant,
then
add another floati
point constant to
the
resulting products and
place the
final
results back into each
of
the
original
4
input locations.
DESCRIPTION
First input location
ISTRT
02:
FP
Multiplier
1
03:
FP
Offset
1
O4:
FP
Multiplier
2
05:
FP
Offset
2
06:
FP
Multiplier
3
07:
FP
Otfset
3
08:
FP
Multiplier
4
09:
FP
Offset
4
f
nput locations
altered:
4
***
54
BLOCK
MOVE
***
FUNCTION
Executes
a
"block move" of data
in
input
locations.
Parameters specify
the
number
of
values
to
move,
the
source, source step,
destination, and destihation
step.
The
"step"
parameters designate
the
increment
of
the
source and destination input locations for each
value
that
is
moved.
For example,
a
"source
step" of 2 and a "destination step"
of
1
will
move
data from every
other
input location to a
contiguous block of input locations.
4
4
01:
PARAM.
DATA
NUMBER
TYPE
01:
4
03:
10-4
tAll
tBll
tA2l
lB2l
lA3l
lB3I
lA4l
tB4l