09-01-2019 08:24 PM
In my lab, I use .dat file form.
I want to save FFT Magnitude data with using 'Write Delimited Spreadsheet.vi' so I have to change cluster(3 elements) data to 2D array data.
Is there anything good to get 2D array data?
Solved! Go to Solution.
09-01-2019 10:54 PM
The FFT cluster consists of a f0 (starting frequency, probably always zero) a dF (distance delta Frequency) and a 1-D array of the frequency bins. Use an Unbundle by Name rather than that ordinary unbundle and you'll see. It is very similar to the Waveform datatype.
I assume by 2D array you mean a n array with a column of frequencies, and a column of amplitudes corresponding to each frequency. Just use the f0, dF, and size of the 1-D array to build an array of frequency values with a ramp function, and build that onto the 1D array!