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, Jun 27, 2019, 5:14 PM Barry Duggan <[email protected]> wrote: > This is a restatement of my second question: > > If the input to a block is an array of X bytes, and I produce an output > array of Y bytes, is that still considered a sync_block, i.e. one array > in, one array out? For example, if the input array has a length of 64 > bytes, and I produce an output array with 68 bytes, do I set the number > of outputs to 1 (for the array) or 68 for the length of the array? > > Thanks > -- > Barry Duggan > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
