Hi Tom,

Each block has counters for how many samples have passed through it.
https://www.gnuradio.org/doc/doxygen/classgr_1_1block.html#a2279d1eb421203bc5b0f100a6d5dc263

uint64_t gr::block::nitems_read(unsigned int which_input)

On 30/09/2019 14:32, tom sutherland via Discuss-gnuradio wrote:
How do I keep up with how many values in a file or streamed value (from RTL device) that have been read into my flow graph? Normally in C/C++, Matlab etc... I would just have a counter of some variety.

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to