LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak

Hi,

 

I used the peak detector.vi but I am getting alot of peak.

 

graph.png

Any comment or advice is appreciated. Thanks!!!

0 Kudos
Message 1 of 7
(2,764 Views)

Hi Learners,

                     Post your VI and let others to have a look at your code.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 2 of 7
(2,755 Views)

Hi danil33,

 

I used the example and edit it.

picture 1.png

0 Kudos
Message 3 of 7
(2,751 Views)

Hi Learner,

 

why did you start new thread(s) for this old topic (or this even older thread)???

 

Why don't you set your "PD width" to 13 to solve your simple problem?

 

I already mentioned to use filtering to cancel noise from your original signal...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(2,737 Views)

Hi Gerdw,

 

I thought it is a different question so I started new threads. Sorry. Why is it 13?

0 Kudos
Message 5 of 7
(2,731 Views)

Hi Learner,

 

I already told you to filter the noise.

 

As you still have some noise in your signal you have to use greater "Width" values to find relevant peaks. The "width" parameter can be seen as low pass filter. In your example "13" was to lowest value to find your 3 peaks, you may want to check this for other signals as well...

 

"I thought it is a different question"

You already asked the very same question in your first thread for that topic: "How can I find those peaks?"

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(2,728 Views)

Hi Gerdw,

 

It is already filter, I am using SI Lowpass Filter.vi I will play around with the filter's paremeter to get a better signal. Sorry in my first question I only want to find 1 peak now I want 3. Anyway sorry, I indeed repeated my question.

0 Kudos
Message 7 of 7
(2,723 Views)