[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] freq_xlating_fir_filter question
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] freq_xlating_fir_filter question |
Date: |
Fri, 8 Jun 2007 19:42:00 -0700 |
User-agent: |
Mutt/1.5.9i |
On Thu, Jun 07, 2007 at 05:09:05PM -0700, Hans Glitsch wrote:
> Hello,
>
> I have a complex signal at around 0Hz that I want to translate up to 25kHz.
> I tried to use the freq_xlating_fir_filter like so:
>
> gr.freq_xlating_fir_filter_ccf( 1, [1], 25e3, data_rate)
>
> I want no decimation and no filtering in this operation.
>
> when I set the decimation to 1, I get an assert from gr_buffer.h:96 that
> says "s < d_bufsize"
>
> Is freq_xlating_fir_filter_ccf not the correct block to use for this?
>
> Thank you,
> Hans
Just use a gr.sig_source_c as an LO and feed it to a complex
multiplier along with your baseband.
See the pipeline class in gnuradio-examples/python/usrp/fm_tx4.py
Eric