LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak detection at same time

Solved!
Go to solution

Hello

 

I have two wave A and B with 10000 sample point.

Now I want to find Max and Min peak value from wave form A and correspond to it I want to know respective value of wave B.

So at thw end finally I will get Max value of A and it's respective value of B.

 

So for that I want to know basic idea.

 

Thanks

0 Kudos
Message 1 of 6
(3,873 Views)

-I guess similar type of questions have been asked and answered many times.
-Check these for getting max and min peak values
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/waveform/wdtops-llb/waveform-min-ma...
https://forums.ni.com/t5/Example-Code/Waveform-Max-Min-Points-and-Time/ta-p/3496560
-Then use time value where peak happens in wave A to wave B and get the values.

Thanks
uday
0 Kudos
Message 2 of 6
(3,864 Views)
Solution
Accepted by hussey

After the waves have sampled. Just use "Array Max & Min" on the A array, or peak detection

Then connect the indexes of the max and min to "Index Array" of the B array.

maxmin.PNG

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 3 of 6
(3,864 Views)

Hello

 

I think there is one misunderstanding by you,

 

I want value of Wave B(whatever not necessary that both wave will give me Max and min point at same sample point) when I got Max value of wave A.

 

Thanks

0 Kudos
Message 4 of 6
(3,847 Views)

That's exactly what got explained, or showed by me and uday.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 5 of 6
(3,843 Views)
-First get the max value where it happens in wave A.
-Use that time value in wave to get value in wave B using simple index array.
still not clear?
Thanks
uday
0 Kudos
Message 6 of 6
(3,839 Views)