Campbell 21X Operator's Manual page 110

Micrologger
Table of Contents

Advertisement

*** 43
ABS(X) **'
FUNCTION
Take the abbolute value
of
the
value in location
X and
placelthe result in location
Z.
SECTION
10.
PROCESSING INSTRUCTIONS
PAR. DATA
NO. TYPE
DESCRIPTION
Input location of
X
txl
Fixed
divisor
[F]
Dest. input location for
X MOD
F
Input locations
altered:
1
***
4T
;1Y ***
FUNCTION
Raise the
value in location
X
to the
value
in
location
Y power and place the result in location
z.
PAR. DATA
NO. TYPE
DESCRIPTION
01: 4
lnput location of
X
txl
O2: 4
Input location of
Y
tYl
03: 4
Dest. input location for
XY
tZ)
Input locations
altered:
1
*** 48
SIN(X)
****
FUNCTION
Calculate the sine
of
the
value in location
X
(assumed
to be in degrees) and place the result
in location
Z.
The cosine
ol a number can
be
obtained by adding 90 to
the number and taking
the sine (COSX = SIN
(X
+ 90)).
PAR. DATA
NO. TYPE
DESCRIPTION
01: 4
Input location of X
02: 4
Dest. input location for SIN(X)
lnput locations
altered:
1
*** 49
SPATIAL
MAXIMUM
***
FUNCTION
Find
the maximum value
in
the given set or
SWATH of
contiguous input locations and place
the result in location
Z.
To find
the input
location where
the maximum value occurs,
enter 1000
+
the input location number (1000
+
Z)
as Parameter
03.
The input location
of
the
maximum value observed
willthen
be
stored
in
destination [Z]
plus
1.
01:
4
Q2:
FP
03:
4
lzl
PAR.
NO.
01:
02:
DATAI
TYPEi DESCRIPTION
Input location of
X
tX1
Dest. input location for ABS(X)
[Z]
lnput locatiofrs
altered:
1
***
4i[
FRACTIONAL
VALUE
***
l
FUNCTION
l
Take the
fraptionalvalue (i.e., the non-integer
portion)
of
tl|e value in location X and place the
result in
loc{tion
Z.
PAR. DATA
NO. TYPE
DESCRIPTION
01: 4 t
lnput location of
X
txl
02: 4
Dest. input location
for FRAC(X)
V]
Input
locati{ns
altered:
1
I
i
***I
45
INTEGER
VALUE
***
FUNCTION
Take
the intpger portion
of
the
value in location
X and place
the result in location
Z.
PAR. DATA
NO. TYPE
DESCRIPTION
4
Input location of
X
IXI
4
Dest. input location
for
INT(X)
[Z]
Input
locati(ns
altered:
1
**r
46
x
MOD
F
***
FUNCTION
Do a modulp divide
of
the value in location X by
the fixed
value
F
and place
the result in location
Z.
X MOD F
is
defined as
the REMAINDER
obtained when
X is divided by F (e.9., 3 MOD
2
=
1).
X
MOp 0
returns
X.
I
I
i
i
I
I
4
4
txl
lzl
01:
02:
10-3

Advertisement

Table of Contents
loading

Table of Contents