discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Scope sink + multiple channels


From: Jeffrey Karrels
Subject: Re: [Discuss-gnuradio] Scope sink + multiple channels
Date: Fri, 6 Jul 2007 16:43:17 -0400

Indeed the float allows more than 2 channels. I will take a look at
the complex scope to see what needs to be fixed.  You know I am
continually amazed by this software! I was just thinking how nice it
would be to have the magnitude displayed and BAM, complex_to_mag
presented itself.

This is great stuff!

On 7/6/07, Jeffrey Karrels <address@hidden> wrote:
Thanks I will take a look at it.

On 7/6/07, Matt Ettus <address@hidden> wrote:
> Jeffrey Karrels wrote:
> > 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?
> >
> >
>
> I think you may need to use the _f version, and pass your complex
> signals through a complex to float conversion.  The float scope takes up
> to 4 signals.
>
> Patches welcome :)
>
> Matt
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]