Operator`s manual
SECTION 8. PROCESSING AND PROGRAM CONTROL EXAMPLES
8-16
When flag 2 is set the FFT is computed and the
results are sent to Final Storage.
10: P91 If Flag
01: 12 2 is set
02: 30 Then Do
11: P60 FFT (OSX-2)
01: 11 Log(base 2) of Samples
02: 1 Power Spectra/Taper
03: 3 Log(base 2) of Bins
04: 284 First Sample Loc
05: 0.1 Multiplier
12: P87 Beginning of Loop
01: 0 Delay
02: 127 Loop Count
13: P86 Do
01: 10 Set high Flag 0 (output)
14: P70 Sample
01: 1 Rep
02: 284-- Loc
15: P95 End
16: P95 End
17: P86 Do
01: 22 Set low Flag 2
18: P End Table 1
* 3 Table 3 Subroutines
Subroutine 1 creates the simulated ocean wave
data. The 3rd through 7th instructions are used
to slightly randomize the wave signal.
01: P85 Beginning of Subroutine
01: 1 Subroutine Number
02: P87 Beginning of Loop
01: 0 Delay
02: 2048 Loop Count
03: P55 Polynomial
01: 1 Rep
02: 1 X Loc
03: 1 F(X) Loc :
04: 0.1 C0
05: 99 C1
06: 0 C2
07: 0 C3
08: 0 C4
09: 0 C5
04: P44 Z=FRAC(X)
01: 1 X Loc
02: 1 Z Loc :
05: P34 Z=X+F
01: 1 X Loc
02: -0.5 F
03: 2 Z Loc :
06: P37 Z=X*F
01: 2 X Loc
02: 30 F
03: 2 Z Loc :
07: P58 Low Pass Filter
01: 1 Rep
02: 2 Sample Loc
03: 3 Loc :
04: 0.02 Weighting Factor
08: P53 Scaling Array (A*loc +B)
01: 4 Start Loc :
02: 1 A1
03: 144 B1
04: 1 A2
05: 100.77 B2
06: 1 A3
07: 90 B3
08: 1 A4
09: 72 B4
09: P87 Beginning of Loop
01: 0 Delay
02: 4 Loop Count
10: P33 Z=X+Y
01: 3 X Loc
02: 4-- Y Loc
03: 4-- Z Loc :