12-12-2013 05:26 AM
Hey guys.
I have a problem with my peak detect on a Power spectrum signal. from http://www.ni.com/white-paper/4278/en/ I know that
I would like to have f = 1 meaning that the frequency at which the acquired time-domain signal was sampled (Fs) has to be equal to the number of points in the acquired time-domain signal (N).
When i try to do this the peak detect returns the error 20013 the width must be greater than zero and smaller than sample rate.
this makes no sens to me ?
When i have Fs = N x 10 it runs.
I have added the VI that i have problems with ! if you need the whole project I will gladly add that to.
12-12-2013 08:43 AM
Hi Genex,
instead of that huge VI you should attach a smaller one, that demonstrates the problem! Right now we would need your DAQ setup to generate a signal to be able to try that VI...
So please:
Generate some typical waveforms, make them default in a waveform control and attach a VI with those waveforms and a typical call (with all your parameters) of PeakDetector!
12-12-2013 10:18 AM
I would love to do that but I havn't been able to get the error with a simulated signal ! 😕
Here is one of the small VI i have tried. this is how i would like my VI to run.
12-12-2013 10:32 AM
Solved I needed to delay my peak detect. I think its becouse the Queue is empty when i start.
This is what i did.