Hi to all,
I have a GRC in which I am turning USRP stream to vectors of 1024 length. Then I have a DSP block (Block 1) that uses these blocks and gives an output of length 1024.
* Then, I want to accumulate 10 of these 1024 length blocks.
* After 10 of these blocks accumulated, I will give these 10*1024 length block to another DSP block(Block 2).
After I used this 10*1024 block, I don't want this block to be completely erased, but I want that it should be updated with the new 1*1024 block coming from Block 1. Then I will use this updated 10*1024 block in Block 2.
In short, firstly, I want to accumulate some data. Then replace the oldest part of this data with the newest.
Should I play with:
1- Max/min output buffers of the blocks in GRC
2- Stream to vector/ vector to stream block combinations
3- Inside Block1 or Block2, change the "consume_each" function
Regards,
Ali