Applies a triangular window (Bartlett Window) to the input signal X. The data type you wire to the X input determines the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.

![]() |
X is a real vector. |
![]() |
Windowed X is the input signal with the window applied. |
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |

![]() |
X is the complex valued input sequence. |
![]() |
Windowed X is the input signal with the window applied. |
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
If y represents the output sequence Windowed X, the Triangle Window VI obtains the elements of y from
yi = xitri(w)
for i = 0, 1, 2, …, n – 1
,
where tri(w) = 1 – |w|, and n is the number of elements in X.
Refer to the Window Comparison VI in the labview\examples\analysis\windxmpl.llb for an example of using the Triangle Window VI.