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 17:50:42 -0700

new error now

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

mboard0 MIMO master

Warning:
The hardware does not support the requested RX sample rate:
Target sample rate: 0.240000 MSps
Actual sample rate: 0.240385 MSps
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'
^C
macbook-chris:gnuradio updatelee$

I havent tried it in linux yet as my old distro (as of friday) is working fine and dont want to wreck it lol.

Ive recompiled UHD as well as Gnuradio both after doing a make distclean/clean just to be sure all the old stuff was out. Gnuradio I even deleted the entire foder and used git to recreate it.

Chris Lee
VE6UDL


>I pushed a fix to the master, can you try it?
>
>In short, resizing the socket buffer on macos is very bad. I had
>accidentally changed the logic that blocked this behavior. Fixed.
>
>-Josh
>
>On 01/26/2011 06:03 AM, update lee wrote:
>> Use the latest gnuradio/uhd I get an error when trying to use UHD with my N210
>>
>> Exception in static block load_modules
>> basic_string::_S_construct NULL not valid
>>
>> and my app segfaults
>>
>> if I also include a fft sink I get
>>
>> RuntimeError: No buffer space available
>>
>> and it hangs untill I Ctrl-C it
>>
>> the code is here
>>
>> www.updatelee.com/src/rx_fft.grc
>> www.updatelee.com/src/rx_fft.py
>> www.updatelee.com/src/rx_fft.py.log
>>
>> macbook-chris:gnuradio updatelee$ sudo sysctl -w net.core.rmem_max=250000000
>> net: class is not implemented
>>
>> doesnt work on OSX
>>
>> Any idea's ?
>>
>> Chris Lee
>> VE6UDL
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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