Question - FM receiver sample - AtttributeError

noroi noroi at
Sat Oct 13 23:25:27 CEST 2007

Hi all,

   I got some problems while running the FM receiver's example codes from
the GNURadio tutorial page; the RF front end is set to call the signal input
from daughter board, and when the compiler tried to call mothods to set some
parameter values(such as gain, set_AGC() and If frequency, get_output_freq()
), it seems not able to find those methods/ functions... Could someone be
kind enough to give some pointers for solving such errors?

Traceback (most recent call last):
  File "./", line 91, in __init__
    IF_freq = rf_front_end.get_output_freq () # 5.75e6
  File "/usr/local/lib/python2.4/site-packages/gnuradio/", line 181,
in __getattr__
    return getattr(self._u, name)
AttributeError: 'usrp1_source_c_sptr' object has no attribute

ps. link for the full script is as below:

View this message in context:
Sent from the Python - python-list mailing list archive at

More information about the Python-list mailing list