Re: [Discuss-gnuradio] GRC newbie questions

2019-06-27 Thread Kevin Lee
Hello, I believe you'd set the number of outputs to 1, for the array itself, and when you set the data type of the output, you'd use sizeof(float) or sizeof(gr_complex) * array_size, so in this case array_size is 58. You'd do this for both input and output signatures. Good luck! Kevin On Thu, J

Re: [Discuss-gnuradio] Calling a function after every N samples

2019-06-20 Thread Kevin Lee
tagged_stream or a PDU or vectorized data? There > are various ways to do what you want that will guarantee N samples that you > could then trigger a function call on. The better one to use really depends > on what you actually want to do once you have your N samples. - MLD > > On Thu, Ju

[Discuss-gnuradio] Calling a function after every N samples

2019-06-13 Thread Kevin Lee
Hello all, I'm working on a project that requires that I synchronously issue a command to the sink I wrote after processing every "N" samples. In my reading, I came to the understanding that a good way to do this would be to use tagged streams or PDUs with message passing. I've read through the Gu

[Discuss-gnuradio] Threading in OOT Blocks

2018-12-21 Thread Kevin Lee
Hello, I am learning to create OOT blocks for GNURadio, and have encountered a small roadblock. I am trying to develop an upsampling module from an interpolator block type that simply adds 0s between each sample of the input. The loop I use to add the 0s is given as follows, from my work function: