Hi Jeff and Vasil,
Thank you very much!
George
On Wed, Apr 13, 2022 at 7:21 PM Jeff Long <willcode4@gmail.com> wrote:
The C++ API gives you ninput_items explicitly, so ninput_items[0] is the number of items in input_items[0].On Wed, Apr 13, 2022 at 7:18 PM George Edwards <gedwards.eng@gmail.com> wrote:Hello GNURadio Community,I am writing a Gnuradio C++ OOT block and need to get the number of complex input data samples fed into my block by the scheduler on each iteration of data delivery. I need to know this information because the relationship between my input and output stream is not as simple as say a one to one I/O as the "sync" block.In Python, it is easy, I can find the value by doing: numInputs = len(input_items[0]). In the C++ general_work method which I paste below, I have not been able to extract the number of input samples from any of the parameters.I will appreciate any help provided.Thank you!George
No comments:
Post a Comment