george seifert Posted September 5, 2008 Report Share Posted September 5, 2008 I'm using the WA Multiscale Peak Detection VI to do some peak detection. I've enclosed my VI that does this. On the block diagram I have to sets of data (far left) labeled "Works" and "Misses first peak". The data looks very similar, but as the labels imply, one finds the peaks correctly and the other misses the first very obvious peak. If I change the "Width" input to the VI down to 2 then it will work with the second set of data. Unfortunately then it detects too many peaks. Even so, with the data sets being so similar it seems it should detect the first peak on both sets of data. I'd really appreciate it if someone could run the VI and tell me what I'm missing. Download File:post-2786-1220546637.vi Thanks, George Quote Link to comment
Neville D Posted September 5, 2008 Report Share Posted September 5, 2008 I don't know what your doing, but it seems to work OK when I tried it. I had to disconnect the inflectiondata type def to make it work, & added a boolean to select between the two data sets; here is my edited version to compare with. Neville. Quote Link to comment
LAVA 1.0 Content Posted September 5, 2008 Report Share Posted September 5, 2008 On my computer (windows XP) I get on both version (George's and Neville's) the same result. To easily see the difference between the two actions connect the 'peak plot' output to an XY graph: In this screenshot you can see the peaks found and the data. I suggest you sent this data to NI so they can examin. Ton Quote Link to comment
george seifert Posted September 6, 2008 Author Report Share Posted September 6, 2008 QUOTE (Ton @ Sep 4 2008, 04:16 PM) In this screenshot you can see the peaks found and the data. I suggest you sent this data to NI so they can examin.Ton Thanks for checking it out. I'll contact NI. George Quote Link to comment
dong1 Posted November 11, 2008 Report Share Posted November 11, 2008 Georges I'm interesting in using your vi .Unfortunately it is in labview 8.6. Could you send it to my attention in 8.5 ? My email is domgrange@freescale.com thanks in advance Dominique Quote Link to comment
george seifert Posted November 11, 2008 Author Report Share Posted November 11, 2008 QUOTE (dong1 @ Nov 10 2008, 07:16 AM) Georges I'm interesting in using your vi .Unfortunately it is in labview 8.6. Could you send it to my attention in 8.5 ? My email is domgrange@freescale.com thanks in advance Dominique NI has told me that there's a problem with the Wavelet peak detection VI so I really wouldn't recommend using it. My VI was just an example that used NI's VI to illustrate the problem I was having. George Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.