discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] UHD/antennas/device names/etc.


From: bobb
Subject: Re: [Discuss-gnuradio] UHD/antennas/device names/etc.
Date: Fri, 27 Aug 2010 00:21:02 +0000

Josh,

  No GRC. All C++. My C++ code is calling simple_usrp::make(dev).

  --Bob

>-----Original Message-----
>From: Josh Blum [mailto:address@hidden
>Sent: Thursday, August 26, 2010 07:53 PM
>To: address@hidden
>Cc: address@hidden
>Subject: Re: [Discuss-gnuradio] UHD/antennas/device names/etc.
>
>So im missing some context here. If you messing around in GRC, there is 
>an antenna parameter in the uhd source block. That antenna parameter is 
>a string that can be TX/RX or RX2. When set, it will generate a call in 
>the python code that looks like uhd_source_object.set_antenna("RX2")
>
>That addr=192.168.xxxx stuff is just for identifying a device on your 
>system. Its goes into the constructor for the block into the args
>parameter. There is no involvement of antennas whatsoever there.
>
>-josh
>
>On 08/26/2010 04:29 PM, address@hidden wrote:
>>
>>> -----Original Message-----
>>> From: Josh Blum [mailto:address@hidden
>>> Sent: Thursday, August 26, 2010 07:03 PM
>>> To: address@hidden
>>> Subject: Re: [Discuss-gnuradio] UHD/antennas/device names/etc.
>>>
>>>
>>>
>>> On 08/26/2010 03:27 PM, address@hidden wrote:
>>>> Welcome to the next level...
>>>>
>>>> I've gotten further. It's now failing with:
>>>>
>>>>
>>>> Oterminate called after throwing an instance of 'uhd::assert_error'
>>>>     what():  assertion failed:
>>>>      is not a valid rfx rx antenna name.
>>>>     possible values are: [TX/RX, RX2].
>>>>
>>>
>>> You need to pick from one of the antenna choices. If you leave a blank
>>> string it shouldnt try to set any antenna, so im not sure why you see
>>> the error at all because it looks like you used a blank/empty string.
>>>
>>> http://www.ettus.com/uhd_docs/manual/html/dboards.html#daughterboard-properties
>>>
>>>> I'm running with an RFX2400 (WBX will be my next victim).
>>>>
>>>
>>> antennas should be the same as RFX series
>>>
>>>> I've already discovered that (apparently) you can't do something like 
>>>> make("eth2") (like you could with the old driver), you need to give the IP 
>>>> address (however I've also discovered that "" also appears to work OK). Do 
>>>> I also need to include some sort of antenna info (i.e., whether I'm 
>>>> running half or full duplex)?
>>>>
>>>
>>> Its a device address, when left blank it will use whatever device it can
>>> find.
>>> http://www.ettus.com/uhd_docs/doxygen/html/classuhd_1_1device__addr__t.html
>>>
>>> The dboard properties link above should clue you into the full or half
>>> duplex stuff.
>>>
>>>> I've looked through the various headers and doxygen but haven't been able 
>>>> to figure out what I need to do to keep going.
>>>>
>>>
>>> What are you trying to do?
>>>
>>> -Josh
>>
>> I'm (just) trying to open a connection to a U2 + RFX2400 (full duplex).
>>
>> What I'm not getting (perhaps I'm just being dense) is how to express the 
>> antenna property in the string (i.e., apparently is can be "TX/RX" or "RX2", 
>> but does it take a prefix like the address does (i.e., "addr=")? If it does, 
>> what is it?).
>>
>> Again, sorry if I've overlooked something. I can tell I'm in the right 
>> ballpark, but I'm just not seeing it.
>>
>>    Thanks again,
>>
>>    --Bob
>>
>>
>>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]