discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] hier_block2 syntax question


From: Steven Clark
Subject: [Discuss-gnuradio] hier_block2 syntax question
Date: Mon, 24 Sep 2007 15:24:01 -0400

hi all-

Quick question about syntax for connecting components inside a hier_block2...

Let A = hier_block2's input

Let's say I want a mult inside that multiplies A and a delayed version of A together.

        self.delay = gr.delay(gr.sizeof_gr_complex, 2*self._samples_per_symbol) #2T delay
        self.mult = gr.multiply_cc()

        self.connect(self, self.delay, (self.mult, 0))
        self.connect (self, (self.mult, 1))
        self.connect(self.mult, [other stuff here], self)


gives me:
ValueError: external input port 0 already wired to delay(12):0

What am I doing wrong? What is the correct syntax?

reply via email to

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