File Sink block dumps lot of data in a file, and to analyze that I have
to
run this code snippet
*import scipy
f = scipy.fromfile(open(“your_file_name.txt”), dtype=scipy.float32)
**print f
Is there any ready file_read block in gunradio companion that I can use?
Can I make a new custom block for same?
Thanks,
Manoj
Try the File Source block.
Sent from my iPhone
Thanks for prompt reply,
I used file source block → vector sink
and then dumping the data in vector_sink by editing top_block.py as
mentioned in
http://lists.gnu.org/archive/html/discuss-gnuradio/2012-08/msg00120.html
- The result ( vector_sink.data() ) is a blank tuple
- I’m expecting a single block which will abstract all these things so
that I can directly read data from file_sink
Is this possible or already done?
Thanks,
Manoj