I'm trying to display "number of items on the output stream" in the flowgraph.
Is there a way to access the function: block__nitems_written(unsigned int which_output)
from the flowgraph?
So far I have tried "from gnuradio import gr" and then use gr.block__nitems_written(0)
as a value in a variable. The error I get is:
module object has no attribute
block__nitems_written
.
I think I am not calling the function properly. Any help will be appreciated!