National Instruments 320571-01 Car Stereo System User Manual


 
Chapter 2 NI-DSP Analysis VI Reference
NI-DSP SRM for LabVIEW for Windows 2-33 Part 3: NI-DSP Function Reference
DSP Flat Top Window
Applies a flat top window to the input sequence
X. If Y represents the output sequence
Flattop{X}, the elements of Y are obtained
using the formula:
y
i
= x
i
[0.2810639 - 0.5208972 cos(w)
+ 0.1980399 cos(2w)]
for i = 0, 1, 2, … , n-1
w =
2πi
n
,
where n is the number of elements in X.
X is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the input
signal array.
Note: The operation is performed in place and the input array X is overwritten by the output
Flattop {X}.
Flattop {X} is a DSP Handle Cluster that is identical to X, but with the results of Flattop {X} already
stored in the memory buffer on the DSP board.
error in (no error) contains the error information from a previous VI. If an error occurs, it is passed out
error out and no other calls are made.
error out contains the error information for this call.