discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GRC newbie questions


From: Kevin Lee
Subject: Re: [Discuss-gnuradio] GRC newbie questions
Date: Thu, 27 Jun 2019 17:23:32 -0400

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 <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]