LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Manipulate Frequency Data

Solved!
Go to solution

 

I'm reading in sound data, getting the FFT and displaying the data - frequency Vs.. Magnitude. I wish to set certain frequency bands to zero.

 

The output data type following the FFT (PS/PSD VI) is a cluster of 3 elements, fo, df and magnitude (1-D array). I've unbundled the output of the PS/PSD VI by name.

 

I'm then setting certain elements in the 1D magnitude array to zero.

 

The problem ...

 

I can't seem to re-create the cluster of 3 elements, fo, df and magnitude such that I can graph the result.

 

Help is much appreciated !

 

 

 

 

0 Kudos
Message 1 of 3
(2,534 Views)
Solution
Accepted by topic author Joe_leen

A simple bundle operation is all you need. Use "bundle by name" and connect the old cluster to the top center. This will populate the item names. Now select the magnitude input and wire the new magnitude array.

 

All other elements (f0, df) will be retained. See image.

 

 

 

Message 2 of 3
(2,532 Views)

In newer versions of LabVIEW, you can also use the in place element structure. Same difference. 😄

 

0 Kudos
Message 3 of 3
(2,508 Views)