01-16-2008 11:19 PM
01-18-2008 11:42 AM
Howdy,
To start, I would recommend not using XY data but rather a waveform. This is the way most people use data such as yours in LabVIEW. The reason for this recommendation is that your X data is simply discrete steps of 1 ms. See if this makes things easier for you.
01-18-2008 11:42 AM
01-20-2008 08:10 PM
01-22-2008 07:53 AM
Hi scartch,
Do you already have an algorithm for baseline drifting that you are looking to implement?
If you have different data, how is the threshold calculated? You may want to use the "Array Max & Min" VI. If you want the average you can use "Add Array Elements" and divide by "Array Size."
Hope that helps!
01-22-2008 06:54 PM
01-24-2008 08:03 AM
Hi scartch,
It's a little more complicated since the threshold for your beginning data needs to be different from the threshold for the later data points. You could try breaking the data into sections and using a different threshold for each. Another option could be to use shift registers and look for peaks by comparing amplitudes at each point.
You may find the Developer Zone documents Peak Detection Using LabVIEW and LabVIEW for ECG Signal Processing useful.