08-10-2020 02:10 PM - edited 08-10-2020 02:10 PM
Hi shreya,
@shreya51 wrote:
I played with the Peak Detector parameters but it is real time data, I cannot make difference between the "main peak" and bunch of other peaks. If you can help me with that, it would be highly appreciated.
You still have not defined the difference between "main" and "other" peaks. How should I help when you don't explain what you are talking about?
@shreya51 wrote:
After your suggestions, I removed the use of difference between the first two samples of plot ("Y") data to scale the positions ("X") output data of the PeakDetector. But still I don't get the Locations in frequency.
Your samples are presented as a plain 1D array, missing all timing information.
So the "location" as given by the PeakDetector is the sample/array index of the peak. Until you provide information about the sample timing there is no way to convert from "array index location" to "frequency location"…
@shreya51 wrote:
when I realized when I need to work with real-time data, it takes longer to figure out the results I want.
Why does it take longer to work with "real-time data" than with "simulated/pre-recorded data"?
Until you describe the "results you want" (and how to get them) you will not get much (more/better) help…
08-10-2020 02:16 PM
@GerdW wrote:
Hi shreya,
@shreya51 wrote:
I played with the Peak Detector parameters but it is real time data, I cannot make difference between the "main peak" and bunch of other peaks. If you can help me with that, it would be highly appreciated.
You still have not defined the difference between "main" and "other" peaks. How should I help when you don't explain what you are talking about?
Hi, @shreya51,
To focus on one of @GerdW's questions, what do you mean when you say "main peak"?
I could easily imagine it being any of these:
So: What do you mean when you say 'main peak(s)'?
-joeorbob
08-10-2020 02:26 PM
Hi Gred,
Thanks for guiding me. I got it what you are trying to say. I have attached the vi that includes Y axis data and X axis data and also that plots the graph. Now please help me if you find the solution.
08-10-2020 02:31 PM
I have attached the picture of the graph and highlighted in Red to show which peaks I am interested in.
Thanks
08-10-2020 06:04 PM
08-11-2020 10:10 AM
Thank you @alexderjuengere for the solution. I adjusted width to 3 and threshold -45, then I started getting peaks I wanted. But I am still getting the unwanted peaks highlighted in red circle in the picture. How to get rid of those peaks?
08-11-2020 12:50 PM - edited 08-11-2020 12:56 PM
Hi, @shreya51
I adjusted width to 3 and threshold -45, then I started getting peaks I wanted. But I am still getting the unwanted peaks highlighted in red circle in the picture. How to get rid of those peaks?
OK, so you don't want the quadratic polynomial peaks, you want the maximum data values of (nearly hand-picked) peaks...
Here's one solution that builds off of what has already been done, but if the data is not pretty close to this ideal (specifically having the "main peaks" to the left of other nearby local maxima), it may break. Use with caution.
Does this meet your needs?
-joeorbob
EDIT: Whoops! The "in-snippet" comment is wrong. Where I said "next-peak-to-the-right", it's actually "next-peak-to-the-left".
08-11-2020 02:00 PM
Thank you so much @joeorbob. This is what I was trying to get as result. I really appreciate it.
03-30-2021 06:18 PM
I´m working on the LabView program for E5061b, could you please share with me the sub-VIs of the program that you´re using?, because I tried the official driver but still some sub-VIs are missing.
Also, is it possible to measure impedance (real and imaginary impedance) using E5061b and 16047e?.
Thank you!.