Re: [Discuss-gnuradio] Tx and Rx on USRP simultaneously, device already claimed

2019-10-07 Thread Marcus D Leech
 Could you share a minimal flow graph that displays the issue?

Sent from my iPhone

> On Oct 7, 2019, at 2:08 PM, Mark Wagner  wrote:
> 
> Hey everyone,
> 
> I'm trying to transmit from the TX/RX port of a USRP while receiving from RX2 
> but I'm getting a 'device already claimed' error message. Here are some 
> details:
> 
> My USRP sink block uses multiple USRP addresses, i.e. 
> 
> "addr0=192.168.1.2,addr1=192.168.2.2,addr3=192.168.3.2,..."
> 
> and each address goes to a different USRP in an array. I want to transmit a 
> calibration tone across the array from the TX channel of the first USRP 
> (addr0), but when I add a USRP source block it gives a 'device already 
> claimed' message. This doesn't happen when I make individual USRP sink blocks 
> for each USRP in the array. 
> 
> Unfortunately if I separate my devices into several USRP sink blocks I can't 
> guarantee the devices will be synched to the PPS. Is there a workaround for 
> this?
> 
> -Mark
> 
> -- 
> Mark Wagner
> University of California San Diego
> Electrical and Computer Engineering
>  
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Tx and Rx on USRP simultaneously, device already claimed

2019-10-07 Thread Mark Wagner
Yeah, here's a basic example of the flowgraph

On Mon, Oct 7, 2019 at 11:17 AM Marcus D Leech 
wrote:

>  Could you share a minimal flow graph that displays the issue?
>
> Sent from my iPhone
>
> > On Oct 7, 2019, at 2:08 PM, Mark Wagner  wrote:
> >
> > Hey everyone,
> >
> > I'm trying to transmit from the TX/RX port of a USRP while receiving
> from RX2 but I'm getting a 'device already claimed' error message. Here are
> some details:
> >
> > My USRP sink block uses multiple USRP addresses, i.e.
> >
> > "addr0=192.168.1.2,addr1=192.168.2.2,addr3=192.168.3.2,..."
> >
> > and each address goes to a different USRP in an array. I want to
> transmit a calibration tone across the array from the TX channel of the
> first USRP (addr0), but when I add a USRP source block it gives a 'device
> already claimed' message. This doesn't happen when I make individual USRP
> sink blocks for each USRP in the array.
> >
> > Unfortunately if I separate my devices into several USRP sink blocks I
> can't guarantee the devices will be synched to the PPS. Is there a
> workaround for this?
> >
> > -Mark
> >
> > --
> > Mark Wagner
> > University of California San Diego
> > Electrical and Computer Engineering
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


-- 
Mark Wagner
University of California San Diego
Electrical and Computer Engineering


example.grc
Description: Binary data
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Tx and Rx on USRP simultaneously, device already claimed

2019-10-07 Thread Marcus D. Leech

On 10/07/2019 05:25 PM, Mark Wagner wrote:

Yeah, here's a basic example of the flowgraph

On Mon, Oct 7, 2019 at 11:17 AM Marcus D Leech 
mailto:patchvonbr...@gmail.com>> wrote:


 Could you share a minimal flow graph that displays the issue?

Sent from my iPhone

> On Oct 7, 2019, at 2:08 PM, Mark Wagner mailto:m2wag...@eng.ucsd.edu>> wrote:
>
> Hey everyone,
>
> I'm trying to transmit from the TX/RX port of a USRP while
receiving from RX2 but I'm getting a 'device already claimed'
error message. Here are some details:
>
> My USRP sink block uses multiple USRP addresses, i.e.
>
> "addr0=192.168.1.2,addr1=192.168.2.2,addr3=192.168.3.2,..."
>
> and each address goes to a different USRP in an array. I want to
transmit a calibration tone across the array from the TX channel
of the first USRP (addr0), but when I add a USRP source block it
gives a 'device already claimed' message. This doesn't happen when
I make individual USRP sink blocks for each USRP in the array.
>
> Unfortunately if I separate my devices into several USRP sink
blocks I can't guarantee the devices will be synched to the PPS.
Is there a workaround for this?
>
> -Mark
>
> --
> Mark Wagner
> University of California San Diego
> Electrical and Computer Engineering
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



--
Mark Wagner
University of California San Diego
Electrical and Computer Engineering

Could you give more details of your hardware configuration.  Are these 
N210s?  X310s?



Also, I'll note that 32K as a sample rate is well below what is normally 
supported--do the start-up messages complain about that?



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Tx and Rx on USRP simultaneously, device already claimed

2019-10-11 Thread Martin Braun
Yeah, or UHD can't match the two UHD sessions. There is no downside to it
-- you just need to make sure that the TX subdev spec is set correctly, and
if you only want to TX on one channel, you need to pick the correct channel
index.

On Fri, Oct 11, 2019 at 3:30 PM Mark Wagner  wrote:

> Ahh, are you saying I would need to make the same 6 device combo for the
> USRP source if I wanted to transmit on one antenna?
>
> On Fri, Oct 11, 2019 at 3:28 PM Martin Braun 
> wrote:
>
>> Can you make sure you're using the exact same device addr for both the
>> sink and source blocks. What you're trying only works if the TX and RX are
>> happening from the same process.
>>
>> -- M
>>
>> On Mon, Oct 7, 2019 at 11:09 AM Mark Wagner 
>> wrote:
>>
>>> Hey everyone,
>>>
>>> I'm trying to transmit from the TX/RX port of a USRP while receiving
>>> from RX2 but I'm getting a 'device already claimed' error message. Here are
>>> some details:
>>>
>>> My USRP sink block uses multiple USRP addresses, i.e.
>>>
>>> "addr0=192.168.1.2,addr1=192.168.2.2,addr3=192.168.3.2,..."
>>>
>>> and each address goes to a different USRP in an array. I want to
>>> transmit a calibration tone across the array from the TX channel of the
>>> first USRP (addr0), but when I add a USRP source block it gives a 'device
>>> already claimed' message. This doesn't happen when I make individual USRP
>>> sink blocks for each USRP in the array.
>>>
>>> Unfortunately if I separate my devices into several USRP sink blocks I
>>> can't guarantee the devices will be synched to the PPS. Is there a
>>> workaround for this?
>>>
>>> -Mark
>>>
>>> --
>>> Mark Wagner
>>> University of California San Diego
>>> Electrical and Computer Engineering
>>>
>>> ___
>>> Discuss-gnuradio mailing list
>>> Discuss-gnuradio@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>
>
> --
> Mark Wagner
> University of California San Diego
> Electrical and Computer Engineering
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio