Re: Out Of Tree module works only partially

2021-12-02 Thread Ralf Gorholt
Hi Federico and Jeff, thank you very much for your prompt answer. As I thought, it was a "newbie" mistake :-) I have modified my block according to what Federico has written and now it works. Regards, Ralf Am 02.12.2021 um 12:31 schrieb Jeff Long: [I just saw the response from Federico as I

Re: Out Of Tree module works only partially

2021-12-02 Thread Jeff Long
[I just saw the response from Federico as I was writing this, so it's partly a duplicate] In work(), items are in terms of vectors, so you need to store off blk_size in the constructor. In work(), you would copy blk_size * noutput_items. For an example, take a look at the source for any of the

Re: Out Of Tree module works only partially

2021-12-02 Thread Federico 'Larroca' La Rocca
Hi, I think you're not taking into account the fact that you're working with vectors. The line out[i] = in[i]; Should actually be for(j=0; j) escribió: > Dear all, > > I am quite new to GNU Radio and in order to see how GNU Radio blocks > work I would like to create my own block that (for the