06-30-2012 08:21 PM
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 !
Solved! Go to Solution.
06-30-2012 08:30 PM - edited 06-30-2012 08:37 PM
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.
07-01-2012 01:25 PM - edited 07-01-2012 01:26 PM
In newer versions of LabVIEW, you can also use the in place element structure. Same difference. 😄