National Instruments 320571-01 Car Stereo System User Manual


 
Chapter 2 NI-DSP Analysis VI Reference
NI-DSP SRM for LabVIEW for Windows 2-39 Part 3: NI-DSP Function Reference
DSP Hanning Window
Applies a Hanning window to the input
sequence X. If Y represents the output
sequence Hanning {X}, the elements of Y are
obtained using the formula:
y
i
= 0.5 x
i
[1 - cos(w)]
for i = 0, 1, 2, …, n-1 ,
w =
2πi
n
,
where n is the number of elements in the input sequence X.
X is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the input
data array.
Note: The operation is performed in place and the input array X is overwritten by the output
Hanning {X}.
Hanning {X} is a DSP Handle Cluster that is identical to X, but with the results of Hanning {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.