|
From: | Activecat |
Subject: | Re: [Discuss-gnuradio] assertion error beyond 4096 output items |
Date: | Wed, 28 May 2014 23:14:43 +0800 |
Hi Marcus,Thank you for evaluating our code and help debugging it. what we understand from your reply is that work function at a time processes noutput_items and this can be lesser than or more than the fft_length. As an example in our code when we give the fft length as 8192, but the noutput_items is still 4096, so does that mean it has to execute work function twice to process 4096*2=8192 items?
Regarding the first approach you suggested, we change the input signature and output signature to (sizeof (gr_complex)*fft_length) so that it is a single vector that is being processed. Then we return 1 as suggested. But it is throwing an itemsize mismatch error. I have attached the c++ file here ( http://pastebin.com/TKemtbxN ). The error says
For the second method suggested should we write a general work function and a forecast function which would mean doing away with sync block that we are using with work function right now?
[Prev in Thread] | Current Thread | [Next in Thread] |