discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] OSX gnuradio/uhd issue


From: update lee
Subject: Re: [Discuss-gnuradio] OSX gnuradio/uhd issue
Date: Wed, 26 Jan 2011 21:06:32 -0700

Oh darn, way to much multitasking, thats my mistake. I did have that issue, when I deleted the folder and had git recreate it I forgot to checkout the next branch. I recognized I did this and resolved the issue. Thats when I get a new error, I must have flipped between to many windows and C&P'd the wrong error msg

the error Im getting with the next branch, confirmed with the link you provided

Mac OS; GNU C++ version 4.2.1 (Apple Inc. build 5664); Boost_104500; UHD_002.20110126204618.b83454d

>>> gr_fir_ccc: using SSE
>>> gr_fir_ccf: using SSE
len(audio_taps) = 159
>>> gr_fir_fff: using SSE
mboard0 MIMO master

Warning:
    The hardware does not support the requested RX sample rate:
    Target sample rate: 0.480000 MSps
    Actual sample rate: 0.480769 MSps
UHD source block got error code 0x1
gr_block_executor: source <gr_block uhd single_usrp source (20)> produced no output.  We're marking it DONE.

>>> Done

uhd_find_devices has no problem finding it though

macbook-chris:gnuradio updatelee$ uhd_find_devices
Mac OS; GNU C++ version 4.2.1 (Apple Inc. build 5664); Boost_104500; UHD_002.20110126204618.b83454d

--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    type: usrp2
    addr: 10.0.1.175
    name:
    serial: E3R10Z1UP

so there is communication.

Im using the latest UHD image on the N210 http://www.ettus.com/downloads/uhd_images/UHD-images-most-recent/UHD-images-002.20110122035832.cd5631f-Linux.tar.gz

Chris Lee
VE6UDL



>> Traceback (most recent call last):
>>   File "rx_fft.py", line 145, in <module>
>>     tb = rx_fft()
>>   File "rx_fft.py", line 117, in __init__
>>     self.connect((self.uhd_single_usrp_source, 0), (self.fftsink, 0))
>>   File
>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gnuradio/gr/top_block.py",
>> line 124, in connect
>>     self._connect(points[i-1], points[i])
>>   File
>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gnuradio/gr/top_block.py",
>> line 129, in _connect
>>     self._tb.connect(src_block.basic_block(), src_port,
>> AttributeError: 'uhd_single_usrp_source_sptr' object has no attribute
>> 'basic_block'
>
> You have a partially out of date or multiple installs of gnuradio:
>
> This is the master branch:
> http://gnuradio.org/cgit/gnuradio.git/tree/gnuradio-core/src/python/gnuradio/gr/top_block.py#n129
>
> This is the next branch:
> http://gnuradio.org/cgit/gnuradio.git/tree/gnuradio-core/src/python/gnuradio/gr/top_block.py?h=next#n129
>
> -josh

reply via email to

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