07-17-2013 03:11 AM
hello,
Working on some signal available as a text file, I was succeeded in plotting it on waveform chart.
While having its frequency response, I have to convert it into time signal to apply FFT Spectrum.
Kindly tell me how could I go through this step.
Regards
07-17-2013 03:51 AM
07-18-2013 02:52 AM
Hello GerdW, thanks for replying
Actually the issue is of difference of data type, the output of my data file is floating point while the input of FFT Spectrum is Time Signal
So how can i make my signal compatible of it.
Thanks
07-18-2013 03:08 AM - edited 07-18-2013 03:09 AM
Hi Abuzar,
yes, I understand your question. Did you follow my advice of message #2?
There's no "time signal" in LabVIEW (atleast I didn't come across such labels). Open the context help and use the wording used in the help...
07-18-2013 04:06 AM - edited 07-18-2013 04:10 AM
Hi Abuzar,
As GerdW said, the datatype you need to connect to 'Time signal' connector of the FFT function is 'WaveForm'.
You can easily convert an array of floating point to waveform, using the 'Build Waveform' function on the Waveform pallette.
Like this for example:
07-24-2013 01:12 AM
Thanks v.much to Gred W and Pianne, i solved my problem,
One thing to ask more that we have to supply the sampling frequency to get the waveform, what about if we dont have any information of the sampling frequency than what would be the technique of converting such signals into waveforms.
Thanks alot
07-24-2013 01:22 AM
Abuzar,
Glad we could help.
If you don't know the sampling frequency, I would just enter '1' as dt, emulating a sampling frequency of 1 Hz.
06-23-2015 03:41 PM
Hi, do you have any idea how should I analyse the data, if the time steps of data collecting are not the same? I tried to use average time step but it changed the data a lot 😕
06-23-2015 07:28 PM
If the time steps differ, you need to be very careful with any analyses. Most of the analysis VIs (filters, FFT, and so on) assume uniformly sampled data (meaning that every dt is the same). There are VIs which can "resample" non-uniformly sampled data and I think there may be a few VIs which can handle non-uniformly sampled data. The resample VIs essentially interpolate between the actual data points and estimate the values at the fixed dt sample points.
Lynn