Grc-mimo setup

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

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 J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://ettus.com

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 J.” [email protected] 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 J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://ettus.com

On Thu, May 15, 2014 at 1:39 PM, xianda [email protected]
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

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 J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://ettus.com

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

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

Hi Mike
Thank you for your patience.Thanks again.

At 2014-05-15 22:01:00,“Mike J.” [email protected] 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 J. M0MIK BSc MIET
Email: [email protected]
Web: http://scanoo.com

On Thu, May 15, 2014 at 2:29 PM, xianda [email protected]
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

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 J. M0MIK BSc MIET
Email: [email protected]
Web: http://scanoo.com