DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EditFilter Issues

 
Post new topic   Reply to topic    DPlot Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
bbenesch



Joined: 19 Aug 2014
Posts: 3

PostPosted: Tue Aug 19, 2014 8:32 am    Post subject: EditFilter Issues Reply with quote

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
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Aug 19, 2014 11:01 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bbenesch



Joined: 19 Aug 2014
Posts: 3

PostPosted: Tue Aug 19, 2014 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
bbenesch



Joined: 19 Aug 2014
Posts: 3

PostPosted: Tue Aug 19, 2014 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> General discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group