From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,882 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,862 Views)
Solution
Accepted by 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,850 Views)

Thanks.

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