Zero Padder (Not in Base Package)

Resizes the input sequence Input Array to the next higher valid power of 2, sets the new trailing elements of the sequence to zero, and leaves the first n elements unchanged, where n is the number of samples in the input sequence.

Input Array is the input sequence. If Input Array is not a power of 2, the VI resizes the sequence to the next size that is a valid power of 2. If Input Array is already a power of 2, the VI resizes the sequence to the next valid power of 2. For instance, if Input Array contains 500 elements, the size of the zero padded output sequence is 512. If Input Array contains 1,024 elements, the size of the zero padded output sequence is 2,048.

Note  If Input Array is empty, Zero Padded Array is also empty.
Zero Padded Array is the Input Array padded up to the next power of 2 elements. Zero Padded Array is useful when the size of the acquired data buffers is not a power of 2, and you want to take advantage of fast processing algorithms in the analysis VIs. These algorithms include Fourier transforms, Power Spectrum, and fast Hartley transforms, which are extremely efficient for buffer sizes that are a power of 2.