National Instruments 320571-01 Car Stereo System User Manual


 
Chapter 2 NI-DSP Analysis VI Reference
NI-DSP SRM for LabVIEW for Windows 2-82 Part 3: NI-DSP Function Reference
DSP Triangular Window
Applies a triangular window to the input
sequence X. If Y represents the output
sequence Triangle{X}, the elements of Y are
obtained from the formula:
y
i
= x
i
tri(w)
for i = 0, 1, 2, …, n-1 ,
w =
2i-n
n
,
wheretri(w) = 1 - |w|, and
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 Triangle
{X}.
Triangle {X} is a DSP Handle Cluster that is identical to X, but with the results of Triangle {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.