Hello,

Thank you Jorge and Ali.

I am using UHD 3.14. I am trying with the example now and as I mentioned
specifying "addr0 addr1" gives an error but I  actually have modified this
code to send a specific file and added a "repeat" tag. Do you think it
would not hang if it's not a continuous transmission?

Regarding the antenna mapping, I have tried it in X300 and here. When I am
using all the antennas for transmission and reception the antenna mapping
doesn't really matter. Either mentioning the channels or the IP addresses
works. Also, since the page only specifies mapping for 4 antennas I am not
sure how to extend to 8. I did try A, B, C, D with all four channels but
again it gives an error,
"invalid subdev-spec markup string: A:0,A:1,B:0,B:1,C:0,C:1,D:0,D:1"
Although, it works for 4 channels just to be clear but not for 8.

So, the main issue seems to be that it is not accepting "addr0, addr1" as
an argument, the error is
"RuntimeError: Error during RPC call to `claim'. Error message: Someone
tried to claim this device again (From: 192.168.10.1)".

If anyone knows why please let me know.
Thank you
Neharika

On Thu, May 2, 2019 at 7:51 PM Jorge Chen <superme...@gmail.com> wrote:

> 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