Campbell 21X Operator's Manual page 89

Micrologger
Table of Contents

Advertisement

SECTION
8.
PROCESSING
AND PROGRAM CONTROL EXAMPLES
TABLE
FFT
Power SPectra
Results
and
1.25 Hz
Signal
Hz
0
0.214852
o.224618
o.234384
o.24415
0.253916
0.263682
o.273448
o.283214
1.22075
1.230516
1.240282
1.250048
1.259814
1.26958
1.279346
4.990426
FFT PSi
1.0859
0
o.49212
84.'t52
811.01
980.79'
162.4
1.4764
0
0
3.9369
108.76
294.94"
108.76
3.9369
0
0
02:
P30
01:
0
02;
1025
03:
P30
01:
0
02:
1026
04:
P87
01:
0
02:
1024
05:
P48
01:
1025
O2:
1027
06:
P48
01:1026
02:
1028
07:
P37
01:
1028
02:
2
O3:
1028
Z=F
F
ZLoc:.
Z=F
F
ZLoc:
Beginning
of Loop
Delay
Loop Count
Z=SlN(X)
X Loc
ZLoc:
z=stN(x)
X Loc
ZLoc:-
z=X-F
X Loc
F
ZLoc:
Z=X+Y
X Loc
Y Loc
ZLoc:.
Z=X+F
X Loc
F
ZLoc;
Z=X+F
X Loc
F
ZLoc:.
End
22
23
24
25
26
27
28
29
125
126
127
128
129
130
131
511
Program:
The first
part
of
this
program
qenerates
a
{ummy data
set
that represents two
signats
supelimposed on top of each
other. One
signal
has
a frequency
of
1.25
Hz and
a ze.ro
to
peak
amptitt$e of
1
while the other
signal
has
a
frequency of .25 Hz and a
zero
to
peak
amplitude
ofl/.
Tne
data simulates a sampling
rate
of l0
Hl
or
a .1
sec
scan rate.
l
This
prografi
generates
power spectra FFT
results
with
Out
bin averaging-
Flag
Usage: Flag
1
is
automatically
set
once
the
inst.
havb been executed
once-
08:
01:
02|
03:
09:
01:
02:
03:
P33
1027
1028
1-
P34
1025
45
1025
01:
01:
01:
o2:
1
1
P91
11
o
Table 1 Programs
Sec. Execution lnterval
ll
Flag
1
is set
Go
to end of Program Table
The
FFT is now computed and
the
power
spectra results
sent
to Final Storage.
10:
P34
01:1026
O2:. I
03:
1026
11:
P95
12:
P60
01:
10
Q2:
1
03:
0
O4:.
1
05:
1
FFT
(OSX-2)
Log(base
2) of SamPles
Power Spectra/TaPer
Log(base
2) of Bins
First
Sample Loc
Multiplier
The
2nd
thrilugh
1|th
instructions
are used to
generate
adf, combine
the
1.25
and 0.25
Hz
signals
for
the
FFT.
I
BIN
#
&13

Advertisement

Table of Contents
loading

Table of Contents