LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bandpassfilter for digitized signal

Solved!
Go to solution

Hey,

We are supposed to get a signal (done in the first box) and then analyze it a little, then digitize. So far it works. 

My problem is the digital filter afterwards. How do I have to change the filter characteristics? 

 

Problem2.jpg 

 

After this filter we have to do a Notch filter at 50 Hz (still with binary numbers). I really struggled with this one. My try is verrrry bad, so I didn't out a picture in here.

 

Thank you very much for you help! 

0 Kudos
Message 1 of 5
(4,798 Views)

I am not clear on what you are trying to do.

 

1. You do not need the sequence structure.  Dataflow is sufficient.

2. The FIR filter input is an array of doubles.  You are trying to wire a digital waveform to it.  That is why you have a broken wire.

3. Your sampling rates are inconsistent and will likely produce results different from what you are expecting.

 

Lynn 

0 Kudos
Message 2 of 5
(4,777 Views)

Hey Lynn, 

I know that I don't need the sequence structure, it just always helps me sorting since I keep on using the "cleaning up" button.

Did you mean that the sampling rates being inconsistent the Stoppand edge frequency? I am sorry, I copied it wrong, it is: 300 m Hz 160 Hz

Do you know a filter which does need doulbes but binary numbers? In the assignement we are supposed to use a digital filter with using the digitized input... This is the main problem. 

Thank you for your help,

Toni 

 

 

0 Kudos
Message 3 of 5
(4,764 Views)

Hello Cotty,

 

can you change your binary to a number and then make the filtering?

Which LV Version do you use and can you post same code?

best regards
Alexander
0 Kudos
Message 4 of 5
(4,724 Views)
Solution
Accepted by topic author Cotty

Hey, 

thank you a lot for your help.

Now I just did not do the change to the binary and figured out my mistake in the beginning with using a digital filter instead of a analog... 😃

 

0 Kudos
Message 5 of 5
(4,712 Views)