Forum: GNU Radio grc-mimo setup

Adb3f7a3251a26ecdd5cbdef07412a0f?d=identicon&s=25 xianda (Guest)
on 2014-05-15 15:00
(Received via mailing list)
Attachment: 1.png (200 KB)
Hello all:
               Environment: 2 usrp N210,mimo cable(they connect with
each other and share the Ethernet)

               And i use the gnuradio companion to set up a very simple
example.And the example is attached on the email.And I run this simple
example,an error comes:
              RuntimeError: ValueError: Could not resolve device hint ""
to a single device.

              And ping 192.168.10.2 and ping 192.168.10.3,it's all ok.
              Can someone help me to solve it?Thank you very much.
Best regards
503e7c2961c7debe24eda2c31330759b?d=identicon&s=25 Mike Jameson (Guest)
on 2014-05-15 15:03
(Received via mailing list)
Your device hint in the 'Device Addr' section of the 'UHD Source' block
should be "addr=192.168.10.2" and in a separate 'UHD source' block the
"Device Addr" should be "addr=192.168.10.3"

Mike

--
Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.com
Web: http://ettus.com
Adb3f7a3251a26ecdd5cbdef07412a0f?d=identicon&s=25 xianda (Guest)
on 2014-05-15 15:10
(Received via mailing list)
Hi Mike
Thank you for your reply.
Now I change the addr but a new error comes:
thread[thread-per-block[1]: <block gr uhd usrp sink (13)>]: LookupError:
KeyError: Cannot find an item size:

thread[thread-per-block[2]: <block gr uhd usrp source (12)>]:
LookupError: KeyError: Cannot find an item size:

Can you help me?Thank you.

Best regrads

At 2014-05-15 20:48:44,"Mike Jameson" <mike.jameson@ettus.com> wrote:

Your device hint in the 'Device Addr' section of the 'UHD Source' block
should be "addr=192.168.10.2" and in a separate 'UHD source' block the
"Device Addr" should be "addr=192.168.10.3"


Mike


--
Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.com
Web: http://ettus.com



On Thu, May 15, 2014 at 1:39 PM, xianda <wangxianda920502@163.com>
wrote:

 Hello all:
               Environment: 2 usrp N210,mimo cable(they connect with
each other and share the Ethernet)

               And i use the gnuradio companion to set up a very simple
example.And the example is attached on the email.And I run this simple
example,an error comes:
              RuntimeError: ValueError: Could not resolve device hint ""
to a single device.

              And ping 192.168.10.2 and ping 192.168.10.3,it's all ok.
              Can someone help me to solve it?Thank you very much.
Best regards
503e7c2961c7debe24eda2c31330759b?d=identicon&s=25 Mike Jameson (Guest)
on 2014-05-15 15:10
(Received via mailing list)
A sample rate of 32e3 is very low.  I suggest trying with a minimum
sample
rate of 100e6/128 (always divide the N210's master clock rate by an even
number to use as a sample rate) which is 781250.

Mike

--
Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.com
Web: http://ettus.com
B4ffbc711addde4c649b1ed526df6157?d=identicon&s=25 Martin Braun (Guest)
on 2014-05-15 15:11
(Received via mailing list)
This was a UHD bug we fixed a couple of weeks back. If you're using
git/master, you can just git pull, rebuild UHD and it will work.

Otherwise, you can set otw_format=sc16 in the streamer args and it will
solve the problem as well.

Cheers,
M
Adb3f7a3251a26ecdd5cbdef07412a0f?d=identicon&s=25 xianda (Guest)
on 2014-05-15 15:46
(Received via mailing list)
Hello
          Thank you so much.
          1.And i set the wire format as Complex int16.And it run.Thank
you again.I'm so happy.This device bring us so many happy.
          But what do you mean "git pull"?Sorry for my poor english.
          Can you tell me what command i should type into the shell?And
then rebuild UHD.
          2.Another question.If i write the c++ documend in the uhd,and
one document is using for transmit and the other one is using for
receive.And i puzzled.In the gnuradio companion mode we can put the
source and sink into the same document.But now two c++ document and i
want to run them at the same time as in the gnuradio mode.How can i do
it?
          Thank you again for your quick reply.
Best regards
C2ed5433862330f8d76de8eb807851ca?d=identicon&s=25 Mike Jameson (Guest)
on 2014-05-15 16:03
(Received via mailing list)
If you built GNU Radio and UHD using pybombs then you can just run:

./pybombs update gnuradio

Alternatively, if you build manually you can go into the
'uhd/host/build'
directory and run:

git pull
cmake ../
make
sudo make install

Mike

--
Mike Jameson M0MIK BSc MIET
Email: mike@scanoo.com
Web: http://scanoo.com
Adb3f7a3251a26ecdd5cbdef07412a0f?d=identicon&s=25 xianda (Guest)
on 2014-05-15 16:09
(Received via mailing list)
Hi Mike
Thank you for your patience.Thanks again.

At 2014-05-15 22:01:00,"Mike Jameson" <mike@scanoo.com> wrote:

If you built GNU Radio and UHD using pybombs then you can just run:


./pybombs update gnuradio


Alternatively, if you build manually you can go into the
'uhd/host/build' directory and run:


git pull

cmake ../

make

sudo make install



Mike



--
Mike Jameson M0MIK BSc MIET
Email: mike@scanoo.com
Web: http://scanoo.com



On Thu, May 15, 2014 at 2:29 PM, xianda <wangxianda920502@163.com>
wrote:
Hello
          Thank you so much.
          1.And i set the wire format as Complex int16.And it run.Thank
you again.I'm so happy.This device bring us so many happy.
          But what do you mean "git pull"?Sorry for my poor english.
          Can you tell me what command i should type into the shell?And
then rebuild UHD.
          2.Another question.If i write the c++ documend in the uhd,and
one document is using for transmit and the other one is using for
receive.And i puzzled.In the gnuradio companion mode we can put the
source and sink into the same document.But now two c++ document and i
want to run them at the same time as in the gnuradio mode.How can i do
it?
          Thank you again for your quick reply.
Best regards
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.