[Discuss-gnuradio] Setting Intermediate Frequency in Python

2013-06-20 Thread s k
I am using this code to set an intermediate frequency in Python platform:

usrp = uhd.usrp_source(device_addr = addr, io_type = 
uhd.io_type.COMPLEX_FLOAT32, num_channels = 1)

usrp.set_rx_freq (0, 1.03e9)


but I am getting an error as:

AttributeError: 'uhd_usrp_source_sptr' object has no attribute 'set_rx_freq'

But i saw this in some USRP documents. Is this an old and out of use code? How 
can I set the IF.

(My purpouse of using IF is cancelling the unreal center peak. 
http://lists.gnu.org/archive/html/discuss-gnuradio/2012-08/msg00032.html)

Sema___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] constant noutput_items

2012-03-28 Thread s k
Hi All,

I want to ask that can we immobilize the noutput_items value to a constant 
value when we write a block. So we can give always the same amount of output.
Any help would be kindly appreciated.Thanks, Sema___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] (no subject)

2012-03-17 Thread s k
Hi All,

I want to ask a maybe simple question. I want to take the output of connection 
of some blocks as a vector. But after connect() function i couldn't find where 
it puts the output string. I also tried to use vector function. But it has a 
few documentation. 

Any help would be kindly appreciated.
Thanks, Sema
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Real time spectrum plot

2012-03-08 Thread s k
Hi all,

I want to make a fft realtime plot with usrp but, i want to do fft job myself  
(for trying different ffts) and plot the spectrum.
I tried to use  qtgui_sink_c but it takes fft itself. And when i tried the time 
domain plot after take the fft myself the graph slides (i think because it show 
sample by sample).

I want to show for example 256 sample than the following 256 samples goes on 
like  this. 

Thanks,
Sema
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio