|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Python block help |
Date: | Sat, 27 Dec 2014 08:20:11 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Hi Bob, I think you've introduced the "j" variable to keep count of how many items you're going to produce, but then just tell the scheduler you've produced as many items as he offered you to do. Replace self.produce(0,len(out0)) by self.produce(0,j). Also, you consume ninput_items every for loop iteration, so ninput_items^2 per work run. That's not right; do it only once, after the loop. Greetings, Marcus On 12/24/2014 12:21 PM, bob wole wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |