EditFilter Issues

Beta releases, announcements and anything else that doesn't fit below. Please read the <B>Welcome</B> topic.

Moderator: DPlotAdmin

Post Reply
bbenesch
Posts: 3
Joined: Tue Aug 19, 2014 8:24 am

EditFilter Issues

Post by bbenesch »

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...
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

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
bbenesch
Posts: 3
Joined: Tue Aug 19, 2014 8:24 am

Post by bbenesch »

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.
bbenesch
Posts: 3
Joined: Tue Aug 19, 2014 8:24 am

Post by bbenesch »

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.
Post Reply