06-05-2013 09:03 AM
Hi all, I have an older version of LabView (v6) as I am currently a student. With these limitations in mind I am trying to write a program that identifies the peak height as well as the peak area. The waveform peak analysis tool is not adequate for my purposes and that is why I am using a custom program. What I start with is:
-I do not know the number of peaks
-Set a custom "threshold"
-I do not know the length of each separate peak
I currently have it such that a random signal is generated, the background noise is eliminated, the signal is exponentially modified to amplify the signal to noise ratio, and then the number of different peaks is identified. What I am having trouble with is separating the array into subarrays such that the initial and final indices for each separate peak can be determined and analyzed separately. If I know these values the rest should be pretty easy to figure out. Attached is the SubVI (if any labeling needs to be elucidated please let me know) and thank you in advance for any help!
*Also note that I am doing this on my PC and the LabView software at school is v7*
06-06-2013 06:30 PM
Hello,
You may want to check the NI community of examples such as this one that may interest you. Perhaps your application could benefit from implementing some hysteresis so that you can tell the points when the peak begins to cross the threshold and where it returns to the threshold.