10-14-2014 10:26 AM
Hai,
I'm trying using peak-valley detector.. I can show peak and also valley (location, amplitude and showing in the graph)..But the problem is I wanna to save data between 6th valley and 10th valley... because the data between 6th peak and 10th peak will be calculated mean and standard deviation.. When I'm trying to save data between the valley, sequence of valley always changed (so, 6th valley and 10th valley always changed), because the graph is moving...
Can someone help me?
Any help is appreciated.
Thank you..
10-14-2014 10:53 AM - edited 10-14-2014 10:54 AM
if you are looking to save data within a certain range, you want to keep your data in an Array and use Array Subset
10-15-2014 09:49 AM
yes, I'm using array subset.. you can see in my figure, I'm using array subset to read data first until second valley.. the problem is first and second valley always changed (the signal or graph moving)
10-16-2014 03:22 PM - edited 10-16-2014 03:22 PM
Hi ulan,
I have a few questions to better understand the whole situation:
How are you generating this data?
What is your hardware setup?
Have you considered collecting the data first, then parsing through it to capture your desired window for analysis?