LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtain FFT waveform and use MATLAB matrix

I need to do two things.
Suppose i simulate a signal of 100kHz (using simulate signal)
How would i be able to get the FFT waveform of that signal???
 
Also if i have a MATLAB matrix of 1x1000000, and if i want to use it in Labview as datapoints to obtain a wavefrom how would i go about doing that?
 
Thanks,
Krishna
0 Kudos
Message 1 of 2
(3,128 Views)
Hi Krishna,
 

How would i be able to get the FFT waveform of that signal???
Please refer to the "FFT and Power Spectrum Units.vi" found in the Example Finder for an example of the different FFT and Power Spectrum VIs available in LabVIEW. On the front panel, click on the VI Name of interest (i.e. FFT) in the Spectrum Units Table, and on the block diagram, navigate to stacked sequence 0 and the FFT case of the case structure. A picture is shown below.
 
 

matrix of 1x1000000, and if i want to use it in Labview as datapoints to obtain a wavefrom how would i go about doing that?
If I understand you correctly, the matrix is the waveform you want to use in LabVIEW. This KB explains how to import and export the matrix data to and from LabVIEW. Once you have it imported, use the FFT VI shown in the example above. I hope this helps!


Message Edited by lion-o on 12-11-2007 01:53 AM
0 Kudos
Message 2 of 2
(3,081 Views)