LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fourier Transform and the DAQ Assistant


Really I'm disappointed with Labview, this is such a simple task.  If I plot the output from the Labview stock FFT functions, it tries to give me a graph of data in the time domain... :smileysad:


All computer program do have the bad habit of doing that they are told to do. They really do not care about what you hope it will doSmiley Indifferent. Take a look at the case structure and see then the code inside is run ;). You've got to ask yourself one question, but not do I feel lucky? Smiley Very Happy. But rather is everything in the while loop needed. It is your piece of code now

Good luck  



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 11 of 14
(910 Views)
Thanks for the help coq rouge.  I took your code, which seemed to have better signal stability than mine, and mixed it with the write to spreadsheet functionality from this thread and then analyzed everything in matlab.  Your FFT actually was a lot better than the labview one, but I don't have the time right now to go through and master the software so I would know how you did it.  Thanks again though 🙂
0 Kudos
Message 12 of 14
(883 Views)

Your original and new code both use FFT functions from LabVIEW so saying that one works better than the other does not make any sense. The difference is the last version removes the large dc component and if you had done that in your original program, you would have had much fewer problems.

 

Also, never post a VI that is set to auto run when opened.

0 Kudos
Message 13 of 14
(873 Views)

Dennis Knutson wrote:

The difference is the last version removes the large dc component and if you had done that in your original program, you would have had much fewer problems.


In his last version, he is using some old Labview 6 code I created in a EMP project. I find it useful then people struggle with spectrum analysis. Anyway the DC offset is not removed, but then using a dB scale. Large DC offsets is not so dominant in the spectrum view


Dennis Knutson wrote:

Also, never post a VI that is set to auto run when opened.


Well this is my fault, I did some quick and dirty modifications and posted it. But I see your point



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 14 of 14
(867 Views)