|Subject:||Re: [Discuss-gnuradio] Issues in Using File Source|
|Date:||Wed, 21 Jan 2015 10:10:18 +0500|
gedit is a text editor; 1110011 is a sequence of characters, not of bits; then, even if you count the 7 bytes, that would be an extremely short signal, no matter how you configured the file source to interpret the contents of your file.
If you, for example, set the file source to "complex", it will interpret the bytes in your file as pairs of 32bit floats -- that would be 8 byte for one complex number. With your 7 byte long file, the file source would not produce a single item of output, and your flow graph would stall for the lack of input.
Generally, there's a FAQ entry about the file "format" the file sink/source use .
I never cease to recommend the new guided tutorials , which (I hope) will give GNU Radio beginners a bit of intuitive insight on how GNU Radio deals with input, item streams, and sample types.
On 01/19/2015 11:17 AM, Salman Dinani wrote:
Greetings to all,
I am trying to send a bit stream "1110011" using file source. For that, I created a bin file using "gedit", typed 1110011 in it and saved it. After that, I gave the path of bin file in GRC File source block and connected a scope to it. But when I ran the file, It gave zero at the output...
Am I making the bin file in a wrong way?? Please Help..
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Discuss-gnuradio mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|