Still getting an error!
thank you in advance

class topBlock(gr.top_block):
>    def __init__(self):
>        gr.top_block.__init__(self)
>
>        fftsize = 256
>        udecim = 256
>
>        mywin = window.blackmanharris(fftsize)
>        fft = gr.fft_vcc(fftsize, True, mywin)
>
>        signal = usrp.source_c(0,udecim)    # signal from Basic RX,
> decimation=256
>        v_sink = gr.vector_sink_c()
>
>        self.connect(signal, fft, v_sink)
>
>        # Do stuff with v_sink.data()
>        print v_sink.data()
>
 if __name__ == "__main__":
>    print "Initilizing.."
>    tb = topBlock()
>    print "Flowgraph start.."
>    tb.start()
>    print "Exiting.."


but i get the same error:

ValueError: itemsize mismatch: usrp1_source_c(2):0 using 8,
fft_vcc_fftw(1):0 using 2048


the value 2048 depends of the fft size 2048=8*256

thank you very much!

-- 
View this message in context: 
http://www.nabble.com/Spectrum_sense-of-a-smaller-banwidth-tp22413464p22431572.html
Sent from the GnuRadio mailing list archive at Nabble.com.



_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to