There are many examples in the python files. Look into the logging section of any modulator/demodulator code.
If you are reading or writing complex data use these gr.file_source(gr.sizeof_gr_complex,"filename") gr.file_sink(gr.sizeof_gr_complex,"filename") The first argument is the sizeof(datatype stored in the file). It can be char, gr_complex, int, float . You can read these files using the utility programs in gnuradio-core/src/utils On Mon, May 3, 2010 at 5:41 AM, Umair Naeem <ar...@student.chalmers.se>wrote: > I need to know how are File source and file sink used. I am trying to use > file sink to store samples that can be read into number sink but when i use > file source to read the same file and try to read that data to number sink > it shows None in the numbe sink. Is there any file extension problem or > what? > > > Regards, > Umair Naeem > MSc Communication Engineering > Chalmers University ot Technology, Sweden. > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio