Hi, Neharika and All,

I met some problems on controlling 2 N310s too.

But first of all, the argument "second_addr" indicates the IP addr. of
the second
SFP+ port on that device, and is set in the case of dual 10G streaming.
I think the first way you wrote is the right way to access the 2 N310s,
even though it is not listed in the Multiple USRP Configuration page.
(https://files.ettus.com/manual/page_multiple.html)
With that, I can control them (set rf parameters and receive signal on all
8 channels) without the error message you mentioned, what version of the
UHD you're using? (UHD 3.13.1, 3.14 worked for me)

My only problem is that they stop working (hang) at transmitting.
An alternative way  is that I create 2 usrp objects to control them as the
commands below.

*uhd::usrp::multi_usrp::sptr tx_usrp_1
= 
uhd::usrp::multi_usrp::make("addr=192.168.30.3,master_clock_rate=122.88e6,clock_source=external,time_source=external")
uhd::usrp::multi_usrp::sptr
tx_usrp_2
= 
uhd::usrp::multi_usrp::make("addr=192.168.40.3,master_clock_rate=122.88e6,clock_source=external,time_source=external")*
Even though it works ( transmit signal simultaneously on all channels ), I
don't think it's the best way (or right way) to use multiple USRPs.

Has anyone done this before? or any suggestion?

Thanks
Jorge



Neharika Valecha via USRP-users <usrp-users@lists.ettus.com> 於 2019年5月2日 週四
下午9:20寫道:

> Hello,
>
> I am using two N310 USRP's to create an 8x8 MIMO setup. But, I am unable
> to make both of them work together. I am using an example program from
> the UHD driver - txrx_loopback_to_file.
>
> I give the following command:
>
> ./txrx_loopback_to_file --tx-rate 7.68e6 --rx-rate 7.68e6 --tx-freq 2.60e9
> --rx-freq 2.60e9 --tx-gain 70 --rx-gain 60 --tx-channels "0,1,2,3"
> --rx-channels "0,1,2,3" --tx-args 
> "addr=192.168.10.2,second_addr=192.168.20.2,time_source=external,clock_source=external,master_clock_rate=122.88e6"
> --rx-args
> "addr=192.168.10.2,second_addr=192.168.20.2,time_source=external,clock_source=external,master_clock_rate=122.88e6"
> --settling 1
>
> and only one USRP turns on.
> In USRP X300 there were two ways to use multiple USRP's,
> 1. Use --tx-args and --rx-args to specify "addr0,addr1" to access two
> different USRP's with --tx-channels and --rx-channels as "0,1". I tried
> that here but it gives an error, "Error message: Someone tried to claim
> this device again".
>
> 2. To define just one "addr" in --tx-args and --rx-args but have
> --tx-channels and --rx-channels as "0,1,2,3" (as X300 is 2x2). When tried
> with N310 with channel values "0,1,2,3,4,5,6,7" it gives an error that Tx
> channels invalid.
>
> So, could you tell me what is the correct syntax to access two USRP's?
>
> Thank you
> Neharika
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to