[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Topology error
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Topology error |
Date: |
Wed, 30 Jul 2003 00:00:28 -0700 |
User-agent: |
Mutt/1.4i |
On Tue, Jul 29, 2003 at 09:38:01PM +0100, Matthew Burnham wrote:
> Having bitten the bullet and upgraded to gcc-3.3 and debian testing, I'm
> now getting somewhere...
>
> I've got a relatively simple bit of code copied from one of the
> examples (see below). This compiles fine, but I get the following error:
> "Topology cannot be changed after inital setup." I'm assuing this is
> something to do with the way the different Source, Sink and SigProcs are
> connected together. Do I need to create the various source, sink and
> SigProcs in a particular order?
>
> How can I solve this for this simple set-up?
>
> VrMultiTask *m = new VrMultiTask ();
> m->add (scope_sink);
> m->add (sqr);
> m->add (scope_sink2);
> m->start();
>
You only "add" the sinks.
I think that if you remove the m->add (sqr) you'll be on your way.
Note however that GrSimpleScopeSink's display is kind of screwed.
We're fixing this stuff all in python. Look for a new release
sometime in the next week or two.
Eric