Forum: GNU Radio Number of Samples Problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E8d783828081d7bdeaa760702a559a28?d=identicon&s=25 unknown (Guest)
on 2007-03-02 16:21
(Received via mailing list)
I am getting an error when running the example.  I try
to specify the number of samples to collect using the -N option, and I
keep getting an error that the destination is already in use.  If I
don't use the -N option, I don't get this error and it works fine.  The
actual error that I get is shown below:

Traceback (most recent call last):
  File "", line 113, in ?
  File "", line 86, in __init__
    self.connect(self.u, self.head, self.convert2, self.dst2)
line 115, in connect
    self._connect (points[i-1], points[i])
line 120, in _connect
    self._connect_prim (s, d)
line 127, in _connect_prim
    self._check_dst_in_use (dst_endpoint)
line 219, in _check_dst_in_use
    raise ValueError, ("destination endpoint already in use: %s" %
ValueError: destination endpoint already in use: <endpoint (<gr_block
head (5)>, 0)>

D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2007-03-02 17:02
(Received via mailing list) wrote:

> I am getting an error when running the example.

> Traceback (most recent call last): File ""

The error message shows a different file name--is this something new
that you wrote?  Also, the line numbers don't match the
in the tree.

In general, the 'destination endpoint in use' error happens during the
fg.connect call when the block and input port being connected to has
already been used in a prior fg.connect call.  From the error traceback
you provided, it's saying that gr.head input port 0 has already been
part of a connect call.  So follow the logic of your script to see how
this could have happened.

Johnathan Corgan
Corgan Enterprises LLC
This topic is locked and can not be replied to.