LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to understand the ups and downs in the signal

When I use peak detection, I could find the peaks but I couldnt get valleys.

 

peaksANDVALLEYS.jpg


Yasemin Barutçu
Electrical And Electronics Engineer
0 Kudos
Message 11 of 12
(405 Views)

Hello,

 

Peak detector VI have few parameters, which can be modified:

- peak/valleys - you choose what you want to detect

- threshold -  instructs the VI to ignore peaks under certain level of ignore valleys above certain level

- width - number of samples taken into consideration of local peak/valleys

 

I think that in your valley detection it is setted threshold to 0 as default - meaning all the valleys above 0 will be ignored.

 

I also recommend you to raise the width of both detection, because I can see at the peak detection graph there are some unwanted "peaks" - this way you will increase the range of samples in which you search for local extremes.

 

For more information about Peak detector VI please see LabVIEW help. There are all the information you need to fully understand this VI.

 

Regards,

Gregor Cerne

0 Kudos
Message 12 of 12
(398 Views)