[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] File Source and FIle Sink
From: |
Mir M. Ali |
Subject: |
Re: [Discuss-gnuradio] File Source and FIle Sink |
Date: |
Mon, 3 May 2010 14:51:18 -0500 |
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
<address@hidden> 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
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio