Sorry I was being lazy, I should have further defined my issue.
...
from gnuradio.wxgui import scopesink
...
self.scope = scopesink.scope_sink_c(self, panel, sample_rate=input_rate,...)
...     

self.connect(xf, (self.scope,0))
self.connect(d, (self.scope,1))
-------------------------------------------------------------
The second connect gives me the following error:

raise ValueError, 'port number out of range.'
ValueError: port number out of range.

Am I using the wrong scope? Do I have to add channels some how?


Thanks
Jeff

On 7/6/07, Matt Ettus <[EMAIL PROTECTED]> wrote:
Jeffrey Karrels wrote:
> Hello all
>
> I have a complex signal coming in from the USRP that I am filtering
> and sending to a scope_sink.  Now I wish to add a channel on that same
> scope and output a square wave  It seems like I can do it, I am just
> having issues of figuring out how to do it.


Just connect more signals to it:

    self.connect(other_thing,(scopesink,1))
    self.connect(yet_another_thing,(scopesink,2))

Matt



_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to