02-25-2018 11:21 AM
Here is the vi
02-25-2018 11:24 AM
That's the same VI as message #1 and doesn't include your attempt at turning the data into a waveform.
Reread the last few messages, particularly mine about you dT values and the filter frequencies.
02-25-2018 11:32 AM
First of all, replace your two filters with a single bandpass. No need to clutter the diagram.
You are only reading 10 samples, so the information content is low and filtering such a small part seems pointless. Get rid of all the express VIs and just use one of the ptbypt filters followed by the ptbypt peak detector that gives you a true whenever a peak is encountered. See how often these occur and you got your desired information.
Do you have some typical (simulated or real) data?
02-25-2018 11:35 AM
Oh sorry my bad. Yes i read your message very carefully and did what you said. Now the original error doesnt pop up except a new error at peak detection vi. ive attached the edited vi. thanks
02-25-2018 11:37 AM
What does the new error say? I can't run your VI without your subVI's.
02-25-2018 11:45 AM
Yes im getting the signal from a pulse sensor through arduino to the pc
02-25-2018 11:49 AM
@derek.s wrote:
Yes im getting the signal from a pulse sensor through arduino to the pc
Yes, we figured that out long ago. Are you responding to any particular posts here?
02-25-2018 11:51 AM
At the peak detection vi it states Error 20013 ... Analysis: The widith must meet 0<widith<samples
02-25-2018 12:01 PM
Yes yours and another person
02-25-2018 12:02 PM
@derek.s wrote:
At the peak detection vi it states Error 20013 ... Analysis: The widith must meet 0<widith<samples
On the first iteration, your collector has only 10 samples, but your width is 15.