06-24-2016 06:49 AM
Hi,
I am getting a problem in my programme and please help me to find out the solution. I have my experimental data in an excel spreadsheet and on plotting these data, it nearly gives a sawtooth waveform. Now I want to find out all the local maxima and minima points of the waveform. Then I want to extract all the data points between each local maxima and minima. For better understanding my problem I have paste a diagram.
Regards
bdcpp08
06-24-2016 07:20 AM
Did you try Peak Detection VI?
06-24-2016 10:59 AM
P@Anand wrote:Did you try Peak Detection VI?
Look at the example called Peak Detection and Display.vi to get started. I does half of what you need already.
06-24-2016 11:14 AM
06-24-2016 01:33 PM
2x Niquist sampling theorem fulfilled 🙂
-AK2DM
06-24-2016 04:11 PM
P@Anand wrote:
@NIquist wrote:
P@Anand wrote:Did you try Peak Detection VI?
Look at the example called Peak Detection and Display.vi to get started. I does half of what you need already.
You really meant to quote me?
Well... Yes, why wouldn't I? You DID just mention the Peak Detection VI and I was elaborating on its use. See the connection?
06-24-2016 06:40 PM
06-25-2016 02:15 AM
Hi
thanks all for suggesting to my post. But the peak detection vi gives the peak amplitude corresponding to the index value. I want to find out the peak position corresponding to time and to extract the data points between the peaks and the valleys. can you give some hints regarding to this problem.
Thanks again.
06-27-2016 10:46 AM
You can do the math to convert from index to time easily. A waveform consists of a T0 (start time), dT (delta T or time between points) and an array of Y values. T get real time multiply dT * # of samples (data point) and add it to the T0. Look at Waveform Get Time Array in the Waveform palette, that's what it does.