05-26-2011 11:31 PM
Hello everybody
Im sending a sine wave from a function generator to an arduino, and from the arduino im using this VI (serial_arduino3) to read the digitized sine wave (serial data) from the serial port (COM4). I managed to display the sine wave from the function generator to a waveform chart in real time (No_FFT.bmp), however Im unable to find the power spectrum of the signal in. Im think the problem is coming from my incorrect use of the 'spectral measurements' box. How can I rectify this mistake and obtain power spectrum of the signal in real time?
Thanks!
ps: There are some limitations I faced when aquiring a sine wave using Labview + arduino. There are discontinuities on the sine wave but thats an arduino issue.. The discussion on the arduino forum is here: http://arduino.cc/forum/index.php?action=profile;u=39206;sa=showPosts
06-07-2011 02:34 PM
Hello
Try the Vi below. To control your power spectrum settings go to the block diagram and double click on the "spectral measurements" box so you can select the options you want. Is that what you need?
Fred
06-08-2011 11:32 PM
Thanks fredericb. I noticed I have to use shift registers and save the data into arrays before I can use the power spectrum express VI.