discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Setting Intermediate Frequency in Python


From: s k
Subject: [Discuss-gnuradio] Setting Intermediate Frequency in Python
Date: Thu, 20 Jun 2013 07:58:37 +0100 (BST)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]