Thanks, does your response mean that I can use usrp2 (with usrp2 driver) in
full duplex
mode, its just that I have no control over the ports...so if receive or xmit
only
tx/rx port is used (and I make no calls to set_antenna or set_rx_antenna)
and if
doing duplex tx/rx is used for xmit and rx2 is used for receive? Also, does
this work for both wbx and rfx900.
Or does it mean I cant do duplex unless I use UHD?
Thanks,
Sharif
----- Original Message -----
From: "Josh Blum" <josh@ettus.com>
To: <discuss-gnuradio@gnu.org>
Sent: Thursday, May 20, 2010 11:55 AM
Subject: Re: [Discuss-gnuradio] Re: USRP2 and FLEX900
> The sent antenna feature is not implemented for the RFX boards when using
> the gnuradio usrp2 driver. However, this functionality has been
> implemented in the UHD:
> http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki
>
> What you are seeing is that when receiving-only (no transmit), the TX/RX
> port is selected for receive.
>
> When transmitting (or simultaneously transmitting and receiving), the
> TX/RX port is selected for transmit, and the RX2 port is selected for
> receive.
>
> -josh
>
> On 05/20/2010 07:50 AM, Sharif Shaher wrote:
>> Hi Matt,
>>
>> The first step to getting duplex to work is to make sure I can switch
>> between RX/TX and RX2 on the
>> rfx900. So that is what I am trying to do now.
>>
>> I have given this a shot and determined that I am not sure if I am
>> calling this correctly. I have
>> the new firmware (you pointed us to) and I running with gnuradio
>> 3.3.0-rc0.
>>
>>> From python (usrp2_fft.py), the only function that allows the python
>>> script
>> to work is
>> self.u.set_antenna(X), where X is an integer. I am not sure what the
>> value of X should be if
>> I am want to use TX/RX or if I a want to use RX2...can you please let me
>> know?
>>
>>> From C++, I call it as follows:
>> u2->set_rx_antenna('RX2')
>
> it only takes integers, and those are character quotes.
>
>>
>> This compiles, don't know if it works (currently trying to test), if I
>> want to go back to TX/RX can
>> you tell me how I would call it from c++, also is calling it with 'RX2'
>> correct?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Sharif
>>
>>
>> ----- Original Message ----- From: "Matt Ettus" <matt@ettus.com>
>> To: "Marcus D Leech" <marcus@ettus.com>
>> Cc: "Sharif Shaher" <sshaher@steelriver.com>
>> Sent: Wednesday, April 14, 2010 12:35 PM
>> Subject: Re: USRP2 and FLEX900
>>
>>
>>>
>>> Yes, this is supported now in the latest USRP2 firmware. You can get
>>> it from:
>>>
>>> http://gnuradio.org/releases/usrp2-bin/trunk/
>>>
>>> Matt
>>>
>>> On 02/26/2010 03:23 PM, Marcus D Leech wrote:
>>>> I'll let Matt comment on your proposed firmware changes
>>>>
>>>> I think the next usrp2 firmware major rev will support switching my
>>>> default
>>>>
>>>>
>>>> --
>>>> Principal Investigator
>>>> Shirleys Bay Radio
>>>> Astronomy Consortium
>>>> http://www.sbrac.org
>>>>
>>>>
>>>> On Feb 26, 2010, at 5:01 PM, "Sharif Shaher" <sshaher@steelriver.com
>>>> <mailto:sshaher@steelriver.com>> wrote:
>>>>
>>>>> Hello,
>>>>> I have an application that requires me to continuously recieve a
>>>>> signal, while
>>>>> continuously transmitting a delayed version of that recieved signal.
>>>>> As a result
>>>>> I need full duplex. I have a USRP2 and the rfx900 daughter board. My
>>>>> plan
>>>>> is to use the TX/RX port to transmit while using the RX2 port to
>>>>> recieve. However,
>>>>> I can not seem to get anything to listen/recieve on port RX2. For
>>>>> example when
>>>>> I run usrp2_fft.py and insert
>>>>> self.subdev.select_rx_antenna('RX2).
>>>>> this gives the error shown below. By searching discuss-gnuradio II see
>>>>> where someone
>>>>> has suggested that I rebuild the firmware by making these changes (for
>>>>> the rfx_900),
>>>>> .base.atr_txval=0 ------> .base.atr_txval=MIX_EN | ANT_SW
>>>>> .base.atr_rxval= MIX_EN --------> base.atr_rxval= MIX_EN | ANT_SW
>>>>> 2 Questions:
>>>>> ------------------
>>>>> However, will the above a) work, that is allow me to use the RX2 port
>>>>> to recieve and b)
>>>>> will it fix the problem shown below when I insert the call to
>>>>> self.subdev.select_rx_antenna('RX2).
>>>>> Any help would be greatly appreciated.
>>>>> Traceback (most recent call last):
>>>>> File "./usrp2_fft.py", line 275, in <module>
>>>>> main ()
>>>>> File "./usrp2_fft.py", line 271, in main
>>>>> app = stdgui2.stdapp(app_top_block, "USRP2 FFT", nstatus=1)
>>>>> File
>>>>> "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
>>>>> line 36, in __init__
>>>>> wx.App.__init__ (self, redirect=False)
>>>>> File
>>>>> "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
>>>>> line 7836, in __init__
>>>>> self._BootstrapApp()
>>>>> File
>>>>> "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
>>>>> line 7433, in _BootstrapApp
>>>>> return _core_.PyApp__BootstrapApp(*args, **kwargs)
>>>>> File
>>>>> "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
>>>>> line 39, in OnInit
>>>>> frame = stdframe (self.top_block_maker, self.title, self._nstatus)
>>>>> File
>>>>> "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
>>>>> line 60, in __init__
>>>>> self.panel = stdpanel (self, self, top_block_maker)
>>>>> File
>>>>> "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
>>>>> line 81, in __init__
>>>>> self.top_block = top_block_maker (frame, self, vbox, sys.argv)
>>>>> File "./usrp2_fft.py", line 112, in __init__
>>>>> self.subdev.select_rx_antenna('RX2')
>>>>> File
>>>>> "/usr/local/lib/python2.5/site-packages/gnuradio/gr/top_block.py",
>>>>> line 94, in __getattr__
>>>>> return getattr(self._tb, name)
>>>>> AttributeError: 'gr_top_block_sptr' object has no attribute 'subdev'
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment