View previous topic :: View next topic |
Author |
Message |
bbenesch
Joined: 19 Aug 2014 Posts: 3
|
Posted: Tue Aug 19, 2014 8:32 am Post subject: EditFilter Issues |
|
|
I'm issues with the EditFilter command in my macro. Below is what I have in my code followed by the subsequent error that pops up.
EditFilter("bandpass",1,1,10,50000|,0|,1||)
Error processing this command: [EditFilter("bandpass",1,10,5000|,0|,1||)]
Any ideas on what I'm doing wrong? I removed the pipes and the macro completed but didn't actually filter... |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Tue Aug 19, 2014 11:01 am Post subject: |
|
|
Remove the pipe symbols for sure. (Those are only meant to show that a parameter is optional.)
If the filter doesn't result in any changes then it is likely that the parameters you're using just don't have any effect. In your example it might mean that the entire record is already between 10 and 50000 Hz. You're welcome to send me an example data file. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
bbenesch
Joined: 19 Aug 2014 Posts: 3
|
Posted: Tue Aug 19, 2014 1:35 pm Post subject: |
|
|
Got it! My data set had a sampling rate of 10kHz and when I tried to do the filter manually through the Dplot window, I was shown an error that I couldn't have a cut-off frequency over 50kHz. So I just changed the cut-off frequency to 49kHz and it worked! Thanks. |
|
Back to top |
|
|
bbenesch
Joined: 19 Aug 2014 Posts: 3
|
Posted: Tue Aug 19, 2014 1:35 pm Post subject: |
|
|
Got it! My data set had a sampling rate of 10kHz and when I tried to do the filter manually through the Dplot window, I was shown an error that I couldn't have a cut-off frequency over 50kHz. So I just changed the cut-off frequency to 49kHz and it worked! Thanks. |
|
Back to top |
|
|
|