discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Companion flow error


From: Nate Temple
Subject: Re: [Discuss-gnuradio] Companion flow error
Date: Tue, 8 Mar 2016 18:20:13 -0800

Hi Nikos,

- You should use the UHD: USRP Source block with the x300, instead of the 
Osmocom Source
- Try setting a higher sample rate to start with, 1e6 instead of 32e3
- You need to add the location of baudline to your $PATH variable, you can do 
so by adding the line below to your ~/.bashrc file (Make sure to update to the 
correct path of your baudline folder)

export PATH=$PATH:/home/user/baudline_1.08_linux_x86_64

You'll need to open a new terminal after adding that line and restart 
gnuradio-companion from that new terminal. 

Best Regards, 
Nate



> On Mar 8, 2016, at 6:06 PM, Nikos Balkanas <address@hidden> wrote:
> 
> Hi,
> 
> This is my first attempt at gnuradio flows. I'm trying to run some of the 
> tutorials i have found around. I use Ubuntu 14.04 x64, gnuradio 3.7.1, usrp 
> x300 with latest uhd. I have a very simple flow with an Osmosdr Source 
> connected to a Baudline Sink. I get the following error on execurion:
> 
> UHD Warning:
> The hardware does not support the requested RX sample rate:
> Target sample rate: 0.032000 MSps
> Actual sample rate: 0.195312 MSps
> ['baudline', '-stdin', '-record', '-spacebar', 'recordpause', '-samplerate', 
> '32000', '-channels', '2', '-format', 'le32f', '-quadrature']
> [Errno 2] No such file or directory
> Traceback (most recent call last):
> File "/home/nikos/Desktop/top_block.py", line 120, in <module>
> tb = top_block()
> File "/home/nikos/Desktop/top_block.py", line 87, in __init__
> **{})
> File "/usr/local/lib/python2.7/dist-packages/baz/baudline.py", line 146, in 
> __init__
> self.p = subprocess.Popen(baudline_exec, stdin=subprocess.PIPE)       # , 
> stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=16384 or -1
> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
> errread, errwrite)
> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory
> 
> >>> Done (return code 1)
> 
> Attaching top_block.py and Tutorial.grc. Searching mail archives and the web 
> didn't help. Maybe I don't know yet how to ask it correctly:( Appreciate any 
> suggestions.
> 
> TIA
> Nikos
>  
> 
> <Tutorial.grc><top_block.py>_______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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