> -----Original Message-----
> From: Jason Abele [mailto:ja...@ettus.com] 
> Sent: Thursday, June 23, 2011 5:29 PM
> To: Ralf Wierse
> Cc: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] E100 - No devices found for ----->
> 
> 
> On Thu, Jun 23, 2011 at 5:32 AM, Ralf Wierse 
> <r.wie...@brunel.de> wrote:
> >> -----Original Message-----
> >> From: Jason Abele [mailto:ja...@ettus.com]
> >> Sent: Thursday, June 23, 2011 1:04 PM
> >> To: Ralf Wierse
> >> Cc: discuss-gnuradio Discussion Group
> >> Subject: Re: [Discuss-gnuradio] E100 - No devices found for ----->
> >>
> >>
> >> On Thu, Jun 23, 2011 at 3:16 AM, Ralf Wierse
> >> <r.wie...@brunel.de> wrote:
> >> > OK, first simple reason discovered.
> >> > UHD can only be used for one device - either UHD_usrp_sink
> >> or source.
> >> >
> >> > How can UHD be used for both devices in parallel?
> >>
> >> You have to access both source and sink from the same process, but
> >> then it is possible to use both at the same time.
> >>
> >> Jason
> >
> >
> > Hi Jason,
> > thanks but I am a little confused.
> > I would say it is in the same process since I have sink and 
> source in the same
> > GRC setup. The failure shows up when the generated python 
> script instantiates an
> > UHD devices the second time as far as I understand.
> > Is there any combined UHD_usrp_sink/source block for GRC or 
> how is this to
> > be done practically?
> 
> Can you send the simplest .grc file which causes this issue?
> 
> Jason


Hi Jason,

Josh wrote to use the latest branch. This one is still building since
we don't have any cross compile environment yet...

However, attached is a GRC setup which fails due to parallel use
of two UHD devices. Well, this is very simple.

Hope the parallel issue is fixed using the latest branch. If not, we
appreciate more support.

Regards,
Ralf

Attachment: parallel.py
Description: Binary data

Attachment: parallel.grc
Description: Binary data

<<< Welcome to GNU Radio Companion  >>>

Loading: "/home/root/spec_analyzer.grc"
>>> Done

Showing: "/home/root/spec_analyzer.grc"

Loading: "/home/root/audio_test.grc"
>>> Done

Loading: "/home/root/simple.grc"
>>> Done

Loading: "/home/root/examples/grc/usrp/usrp_rx_dpsk.grc"
>>> Done

Loading: "/home/root/test.grc"
>>> Done

Loading: "/home/root/test2.grc"
>>> Done

Loading: "/home/root/sender2.grc"
>>> Done

Showing: "/home/root/sender2.grc"

Showing: ""

Showing: "/home/root/simple.grc"

Showing: "/home/root/test.grc"

Showing: "/home/root/sender2.grc"

Showing: ""

Generating: "/mnt/UHD-Mirror/host/parallel.py"

Executing: "/mnt/UHD-Mirror/host/parallel.py"


>>> Done

Generating: "/mnt/UHD-Mirror/host/parallel.py"

Executing: "/mnt/UHD-Mirror/host/parallel.py"

linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500; 
UHD_003.000.001-

QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for 
BOM: Bad file descriptor
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
Opening USRP-E on /dev/usrp_e0
USRP-E100 clock control: 6
  r_counter: 1
  a_counter: 0
  b_counter: 12
  prescaler: 8
  vco_divider: 2
  chan_divider: 15
  vco_rate: 1920.000000MHz
  chan_rate: 960.000000MHz
  out_rate: 64.000000MHz


Warning:
    Ignoring discovered device
    EnvironmentError: IOError: Failed to open /dev/usrp_e0
Traceback (most recent call last):
  File "/mnt/UHD-Mirror/host/parallel.py", line 89, in <module>
    tb = parallel()
  File "/mnt/UHD-Mirror/host/parallel.py", line 49, in __init__
    num_channels=1,
  File "/usr/local/lib/python2.6/site-packages/gnuradio/uhd/__init__.py", line 
74, in constructor_interceptor
    return old_constructor(*args, **kwargs)
  File "/usr/local/lib/python2.6/site-packages/gnuradio/uhd/uhd_swig.py", line 
1854, in usrp_sink
    return _uhd_swig.usrp_sink(*args, **kwargs)
RuntimeError: LookupError: KeyError: No devices found for ----->
Empty Device Address

>>> Done

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

Reply via email to