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
(2,726 Views)
-I guess similar type of questions have been asked and answered many times.
-Check these for getting max and min peak values
http://zone.ni.com/reference/en-XX/help/371361H-01/lvwave/waveform_min_max/
https://decibel.ni.com/content/docs/DOC-10515
-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
(2,717 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
(2,717 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
(2,700 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
(2,696 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
(2,692 Views)