LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with bandstop filter

Solved!
Go to solution

I've built a simple test VI to play with the point-by-point bandstop filters.  I'm using a simple point-by-point sine wave filter to generate the input.  I can't seem to get any bandstop filtering action.

 

Can anyone help?

 

banstop.png

Jordan McBain, PhD
LabVIEW Controls Engineer
Revolutionary Engineering
0 Kudos
Message 1 of 4
(2,865 Views)

Jordan,

 

I think you need to use different values for Fs and dt. In your image it appears that Fs = 1000 and the increment added to the time for the sine function is also 1000. Connect the time to the input of the 1/x.

 

Lynn

0 Kudos
Message 2 of 4
(2,845 Views)
Solution
Accepted by topic author JordanJMcBain

I don't understand why you are not incrementing time linearly.  It should be simply 0.001 * iteration.  You're adding the inverse of the time step to your time.

 

Also, use Wait ms instead of Wait until next multiple for your loop time.

 

Band Stop.png

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Message 3 of 4
(2,833 Views)

Thanks.

Jordan McBain, PhD
LabVIEW Controls Engineer
Revolutionary Engineering
0 Kudos
Message 4 of 4
(2,795 Views)