discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] 'gr_top_block_sptr' object has no attribute '_setup_u


From: saketh kumar
Subject: [Discuss-gnuradio] 'gr_top_block_sptr' object has no attribute '_setup_usrp'
Date: Thu, 4 Aug 2011 13:28:51 -0400

Hi

  I am trying to make digital-bert scripts work with USRP N200, RFX2400. I have changed my code a little bit. But it shows me an error saying "object has no attribute".


address@hidden:~/gnuradio/gnuradio-examples/python/digital-bert$ ./benchmark_tx1.py -f 2500M
linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.001.002-ba0e3c8

>>> gr_fir_ccf: using SSE
Modulation: 250k bits/sec
TX IF rate: 500k samples/sec
USRP interpolation: 256
DAC amplitude: 2000
Traceback (most recent call last):
  File "./benchmark_tx1.py", line 108, in <module>
    tb = tx_bpsk_block(options)
  File "./benchmark_tx1.py", line 52, in __init__
    self._setup_usrp(options.ip,
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/gr/top_block.py", line 94, in __getattr__
    return getattr(self._tb, name)
AttributeError: 'gr_top_block_sptr' object has no attribute '_setup_usrp'

Can anyone help me out, how to resolve this error ? Attached is my little modified code.
--
Saketh Kumar

Attachment: benchmark_tx.txt
Description: Text document


reply via email to

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