12-16-2008 04:39 PM
I do believe the more examples, the more LabView will be sold and liked/wanted by the users.
12-16-2008 07:12 PM - edited 12-16-2008 07:17 PM
This is not about programming but about methodology.
How do you want to detect a peak? If your signal is noisy, you cannot use derivatives, or you have to filter data (with a gaussian filter or with a local mean of data), but this however will include a delay in the filtered data, as when the signal starts increasing the mean will be lower than the actual value. It will also flattent your peaks if they are really sharp.
So, here, you have to decide. How is your noise? If your noise as a defined max amplitude, you can use thresholds to detect when a signal starts increasing or lowering. If not, you'll need to filter the data and what could be a nice solution is to filter both predictable data and measured data, so the error introduced in filtering will be similar to the two graphs, fixing your timing issues.
Whatever solution you choose, you can then programm it on LabVIEW, but what you have to do first is take a piece of paper and a pencil and think about what is your problem and how you can resolve it.
Hope that helps
Oh, and, LabVIEW has no benefits in developping examples that will serve one single customer. If lot of people had the same issues, there will be an example. If you cannot solve your specific problem, then you need to pay for a developper ^^
12-17-2008 07:27 AM
So Swieser...are you a developer?...
I appreciate everybody's enthusiasm to teach me what I should do.
12-17-2008 07:40 AM

12-17-2008 08:47 AM
I just discovered that exactly those files are missing!
Nevertheless, I have attached the results of a different event just to exemplify the "noise" or rather variation in the signal.
12-17-2008 09:08 AM
12-17-2008 09:09 AM
Hillman,
we just installed the developer suite and I believe we now have the Advanced Signal Processing toolkit.
12-17-2008 09:46 AM
I just noticed I have posted an incomplete acquired signal. I appologize if this created confusion... I hate to waste anybody's time.
---
I reviewed the project and I believe I can move forward with what I have. Therefore I would like to thank you once again for your time and suggestions.
---
Joyful Holidays and A Happy New Year to all forum users!
12-17-2008 09:54 AM

12-17-2008 10:09 AM
The file I sent you is not quite representative but this is all I have right now. I have modified the picture you sent me to show what I would want: for the hypotetical signal as the one in the attached picture I would like to separate the areas that have the peaks in a certain level of magnitude. I could do this using the prediction file by detecting the peaks within a certain range of magnitude; all I need are the time locations (in the sample picture that would be where the red line crosses the time axis)
In the sample file the columns to be read are the first one (time) and the AI column (column 35, Parameter 34).