Thursday, November 21, 2019

Re: UHD: USRP source issue when using 2 channels

Also confirm it's fixed.

Ron

On 11/21/19 02:25, jean-michel.friedt@femto-st.fr wrote:
> I confirm that with the current git (GNU Radio 3.9.0) the issue seems solved.
>
> JM
>
> --
> JM Friedt, FEMTO-ST Time & Frequency/SENSeOR, 26 rue de l'Epitaphe,
> 25000 Besancon, France
>
> November 21, 2019 11:14 AM, "Müller, Marcus" <mueller@kit.edu> wrote:
>
>> I'm soooo close to shouting out "ha-ha! Integer signedness error!", but
>> I think chances are this was fixed on master in
>> 8eb1a354c0b5126b6c0b7d55b68963a155088b3a.
>>
>> On Thu, 2019-11-21 at 01:57 -0800, Ron Economos wrote:
>>
>>> I have the same issue, but the error message is different.
>>>
>>> Traceback (most recent call last):
>>> File "/home/re/xfer/uhdrx.py", line 213, in <module>
>>> main()
>>> File "/home/re/xfer/uhdrx.py", line 191, in main
>>> tb = top_block_cls()
>>> File "/home/re/xfer/uhdrx.py", line 97, in __init__
>>> self.uhd_usrp_source_0.set_center_freq(center_freq, 1)
>>> File
>>> "/opt/gnuradio-3.7.12git/lib/python3.6/dist-packages/gnuradio/uhd/uhd_swig.py",
>>> line 3600, in set_center_freq
>>> return _uhd_swig.usrp_source_sptr_set_center_freq(self, *args)
>>> RuntimeError: LookupError: IndexError: multi_usrp: RX channel
>>> 140641462873248 out of range for configured RX frontends
>>>
>>>>>> Done (return code 1)
>>> Ron
>>>
>>> On 11/21/19 00:43, jean-michel.friedt@femto-st.fr wrote:
>>> Am I the only one facing an issue with fetching data from 2 channels of a B210 receiver ?
>>> When addressing a single channels (USRP Source -> file sink) all goes well, but
>>> whenever I activate a second channel (Num Mboards=1, Num Channels=2) I get an error message
>>>
>>> tb = top_block_cls()
>>> File "/tmp/GPS.py", line 103, in __init__
>>> self.connect((self.uhd_usrp_source_1, 1), (self.blocks_null_sink_0, 0))
>>> File ".../gnuradio3.8/lib/python3.7/dist-packages/gnuradio/gr/hier_block2.py", line 48, in wrapped
>>> func(self, src, src_port, dst, dst_port)
>>> File ".../gnuradio3.8/lib/python3.7/dist-packages/gnuradio/gr/hier_block2.py", line 111, in connect
>>> self.primitive_connect(*args)
>>> File ".../gnuradio3.8/lib/python3.7/dist-packages/gnuradio/gr/runtime_swig.py", line 5461, in
>>> primitive_connect
>>> return _runtime_swig.top_block_sptr_primitive_connect(self, *args)
>>> RuntimeError: port number 1 exceeds max of 0
>>>
>>> whatever sink (file, null) is attached to the UHD output. I am facing the issue
>>> with custom 3.8.0.0-rc2 (Python 3.7.5) or the current Debian/sid 3.8.0.0
>>> (Python 3.7.5) versions of GNU Radio Companion.
>>>
>>> The flowchart with the issue is at http://jmfriedt.org/GPS.pdf
>>>
>>> Thanks, JM
>

No comments:

Post a Comment