|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] GNURadio OOT vector input/output with different size |
Date: | Mon, 17 Jul 2017 15:42:57 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Hi Ali, So, you want one block with:
Correct? You need to generate two std::vector<int> with content {4000,4000,4000,4000,4000,4000,4000,4000} and {4000,4000,16,16} respectively, and use gr::io_signature::makev(int min_streams, int max_streams, vector) to generate the io_signatures[1] that you use in your block's constructor. The question whether your block should be a general, or a sync block, is independent from the item sizes of the in and outputs, but depends on whether there's always a fixed ratio of produced output items to consumed input items, as explained in [2]. Best regards, Marcus [1]
https://gnuradio.org/doc/doxygen/classgr_1_1io__signature.html#a99e0f9e8de8e7ce16ed92d9f2655e66c On 07/17/2017 03:31 PM, Ali wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |