|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Porting GR-AIS to GN3.7 |
Date: | Mon, 09 Sep 2013 00:04:20 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Hi Fokko,
you have a misconception of what flowgraphs are. You call connect twice, connecting all the blocks twice; this can't be done, since every block only has one set of input ports. Please consider flowgraphs as mathematical digraphs: Just a set of vertices (blocks) and directed edges; if you connect the two same blocks with the exact same connect(...) call, you end up with double edges and blocks that have more incoming edges than they can accept, since you try to add the same vertices and edges to a graph that it already has. You even made the mistake of overwriting self.filter with the second call to ais_rx - are you sure you know what you're coding here? Try with only one ais_rx; I don't see why that should not work. When you want to construct the second branch of your flowgraph, you need to duplicate all the vertices (blocks) first, so that they can function on their own. On 09/08/2013 11:47 PM, Driesprong, Fokko wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |