LabVIEW

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 

0 Kudos
Message 1 of 12
(5,080 Views)

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

0 Kudos
Message 2 of 12
(5,058 Views)

how to find it ? 

0 Kudos
Message 3 of 12
(5,054 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
0 Kudos
Message 4 of 12
(5,044 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
0 Kudos
Message 5 of 12
(5,036 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
0 Kudos
Message 6 of 12
(5,030 Views)

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

0 Kudos
Message 7 of 12
(5,027 Views)
Solution
Accepted by topic author plpablo

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
Message 8 of 12
(5,019 Views)

Can You attach VI ? 

 

0 Kudos
Message 9 of 12
(5,015 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
0 Kudos
Message 10 of 12
(5,008 Views)