discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Tracking Number of Input Items


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Tracking Number of Input Items
Date: Tue, 27 Jun 2017 18:20:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0

Hm, to my knowledge, no there's no block like that yet.

However: Should be easy! Just use ninput_items_read(0) to query how many items have been consumed so far by the block. I'd recommend writing a sink and putting it parallel to the end of the processing chain of interest. That way, you can avoid having to "pass through" samples by copying.

Best regards,

Marcus


On 27.06.2017 14:33, Tellrell White wrote:
Hello
I want to know is there a way or even a block that already exists that will allow you to send a message(pdu) after receiving a certain amount of input items?? Any info would be great.

Thanks
Tellrell


_______________________________________________
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]