I am writing a python program based on gnuradio, and using a gnuradio File Source. I cant seem to find a way to do that…
I tried looking at the documentation for this block, but i couldn’t find anything useful. I also tried calling the work function of the block using python, but it didn’t work (I couldn’t provide the correct parameter types that gnuradio was expecting).
I am looking for something like:
if (file_source_name.items_remaining() == 0):
print(“done.”)
Guy Meirson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.