I have a custom block trying to connect with other blocks in gnuradio like:
for i in xrange(len(self.sources)):
self.connect(self.src[i], self.filt[i], self.resampler[i], (self.finder, i))
number of connections should be equal to number of sources.
All goes well, but it is executing only once, i.e. first block with :
self.connect(self.src, self.filt, self.resampler, (self.finder, 0))
other one getting terminated once above connection terminates.