This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

peak detection

Solved!
Go to solution

Hello all,

 

I would like to find peaks in my signal but I am looking only for big peaks. I am trying to use peak detector but threshold in this  vi is from 0 and that is not working for me because my signal looks like in the picture ( red signal ) . As we can see there are around 10 peaks but tool found 1236. 

 

So question is how to find only big ones. 

 

Best regards 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 12
(6,075 Views)

\vi.lib\measure\mamon.llb\Waveform Peak Detection for 1 Chan.vi

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 2 of 12
(6,053 Views)

how to find it ? 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 12
(6,049 Views)

Hi pablo,

 

when you need help with your VI and your data you should attach your VI and your data!

(You know we cannot debug images with LabVIEW!)

 

And please define "only big ones" by providing an example waveform together with your expected result…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 4 of 12
(6,039 Views)

Hi GerdW

 

I am using hardware input so i don't know if you can debug application. 

I am attaching my vi and picture.

 

Best regards 

Download All
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 5 of 12
(6,031 Views)

Hi pablo,

 

we also need the data shown in your images!

Run your VI until you see nice plots in your graph. Then stop the VI.

Now call edit menu -> set all values to default.

Save the VI, attach it again…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 6 of 12
(6,025 Views)

Data will be different for every run but for debugging purposes we can use this one 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 7 of 12
(6,022 Views)

Hi pablo,

 

you also should try to get rid of (unneeded) ExpressVIs!

Use IndexArray instead of SplitSignal.

Use BuildArray instead of ToDDT and JoinSignal!

 

See this:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Message 8 of 12
(6,014 Views)

Can You attach VI ? 

 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 9 of 12
(6,010 Views)

No, didn't save…

 

It's just the PeakDetector, applied on your data.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 10 of 12
(6,003 Views)