[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UHD: USRP source issue when using 2 channels
From: |
CEL |
Subject: |
Re: UHD: USRP source issue when using 2 channels |
Date: |
Thu, 21 Nov 2019 10:13:06 +0000 |
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, address@hidden 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
> >
> >
smime.p7s
Description: S/MIME cryptographic signature