From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-18-2012 12:34 AM
I have tried using different FFT spectrum on my program but i am not too sure which FFT to use as there are many different FFT in labview. I need some guidance. i wanna use the FFT to extract value from my graph so that i can filter away those unwanted value. Heres the vi i did.
12-18-2012 01:13 AM
You did not include a datafile.
What "value" do you want to extract and what "values" are unwanted? Are you looking at filtering, tone extraction, etc.? You need to be much more specific!
Just looking at your code; What is the purpose of the lower while loop? Since the input never changes, the loop is not needed at all. It would just recalulate the same thing over and over again, consuming all CPU. Once is enough! The upper loop has some controls, that could be operated interactively. Sill, I doubt you can change them every nanosecond, so that loop needs a small wait too (e.g. 50ms).
12-18-2012 01:38 AM
I want to get the frequency spectrum of my wave in a log graph. But i am not sure which application to use in order to change my graph from time domain to frequency domain. I am not sure if u understand what i am saying but i need to get a frequency spectrum out from the waveform i have. Which FFT should i use in order to aquire the spectrum? Thanx!
12-18-2012 01:47 AM
It looks something like this. Is it possible to do it?
12-18-2012 02:18 AM
I tried to implenment the FFT but i still could not get the spectrum i wanted. Need help plz! >.< Here the vi i did.
12-18-2012 02:31 AM
You still did not include a measurement file and you still don't have any delays in the loops.
12-18-2012 02:53 AM
What do u mean by measurement file and a delay?? The measurement file is the waveform itself? And why do we need a delay? Can u do a demo for me? thanx!
12-18-2012 03:04 AM - edited 12-18-2012 03:08 AM
Your first operation is reading the file "C:\Documents and Settings\sasca205\Desktop\gerald\database\100m.tdms", which we definitely don't have. You just have to believe me here. 😄
Any toplevel loop should contain a small wait, else each loop will spin millions of times per second, consuming all CPU it can possibly get. There is no need to spin the loops faster than you can enter new control values.
I alos don't understand why you need two loops. One seems to be sufficient.
12-18-2012 03:34 AM
Ops sorry! I cant send the file i send you the link. http://www.physionet.org/physiobank/database/mitdb/ Its under the signals
12-18-2012 07:16 PM
I used the biomedical kit to transform the dat file to tdms file 🙂