07-18-2019 03:13 PM
Hi everybody,
I'm writing this post because I would like to know if there was a way to save the results obtained by a FFT.
I'm acquiring a signal with a DAQ and performing a FFT to see its frequency components.
I have no problem to save the data coming out from the DAQ a file with the function "write delimited spreadsheet", but when it comes to the FFT it does not work with the same method (obviously).
Is there a way to do it ? Thank you so much
Best regards,
Marco
07-18-2019 03:18 PM
07-18-2019 04:42 PM
Hi,
I used the Unbundle function, then I created an array with the "build array" function and plotted it to see if everything worked.
It does work in Labview, even when I modify the input parameters of the sines components, the FFT is accurate.
The problem is when I want to upload the data and plot them in Matlab. Basically is like if the file saves only a part of the results but not all of them. If I modify the inputs after the Labview routine has started, it does not show them.
The Matlab code is the following
Could you help me out? Thank you so much .
Best,
Marco
07-19-2019 12:29 AM - edited 07-19-2019 12:30 AM
Hi Marco,
The problem is when I want to upload the data and plot them in Matlab.
I'm not an expert in Matlab - you are asking in a LabVIEW forum…
I used the Unbundle function, then I created an array with the "build array" function
You build an array of those f0, df and Y[] data in LabVIEW: when you load that data in Matlab you should also use the first and second value (f0, df) differently then the Y[] data after them…
Two notes: