11-11-2009 01:41 PM
I'm a bit confused.
Will the peak finder also have this problem?
11-11-2009 01:43 PM
11-11-2009 01:44 PM
This fixes the problem.
11-11-2009 02:20 PM
11-11-2009 02:22 PM
aeastet wrote:
So the green box will do the same thing as the orginal code then. It will keep all values that are in the true state. This would still be a problem if there were a second peak that got above the minimum value.
Yeah
11-11-2009 03:59 PM
Thanks all for all the help
Tomorrow hopefully I can run some trials with the code as I have it set up now. I'd like to be able to set it up using the peak finder code, to prevent the issue of second, etc. peaks.
I'm having a problem, though, in outputting from Span and Left Edge to the inputs of the array subset, as it indicates that the data types are different. Any idea why this is happening or how to correct it?
11-11-2009 04:14 PM
Tomorrow hopefully I can run some trials with the code as I have it set up now. I'd like to be able to set it up using the peak finder code, to prevent the issue of second, etc. peaks.
His updated version in post 24 of this thread doesn't have that problem.
I'm having a problem, though, in outputting from Span and Left Edge to the inputs of the array subset, as it indicates that the data types are different. Any idea why this is happening or how to correct it?
Left Edge is an array. Use Index Array to get the first element. I uploaded a version that does everything including the average a few posts ago.
11-11-2009 04:23 PM
11-12-2009 12:55 PM
Thank you all so much for the assistance, honestly I want to mark more the one of having solved the problem but I don't think I can!
I ended up using both of the methods you set up. I used one to find the average of the first peak and one to find the average of every value above the threshold, and display both. No problems whatsoever and now I have two useful VIs to hang on to.
Thanks again,
Justin