|
From: | Martin Braun |
Subject: | Re: [Discuss-gnuradio] how to pass a large number of items between blocks? |
Date: | Wed, 14 May 2014 10:34:01 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 13.05.2014 19:27, Mostafa Alizadeh wrote:
Hi, I recently encountered a problem with the large number of items. I wanna pass about 75000 items from one block to the another. I thought that I could do this with setting the min of output items in the constructor of the block but I got the following error by runtime: thread[thread-per-block[1]: <block crc (1)>]: Buffer too small for min_noutput_items I searched around but I couldn't find a cogent response. please help me!
You could use your own version of tagged streams to indicate boundaries... regular tagged stream blocks also suffer from buffer limitations.
That said, 75000 items doesn't seem all that large. What's your item size, is it sizeof(gr_complex)? Did you set your kernel.shmmax = 2147483648?
M
[Prev in Thread] | Current Thread | [Next in Thread] |