discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Unable to read data from a .dat file


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Unable to read data from a .dat file
Date: Tue, 16 Feb 2016 19:57:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

You're confusing text files and binary files.

What you are referring to are text files. The text character "1" has the binary representation (if it's represented in ASCII) of 49, "0" is 48 and all the letters of the alphabet have other values.

"binary file" means that the content of the file is just the same as the samples were in RAM; that's something completely different from text.

Best regards,
Marcus

On 02/16/2016 07:42 PM, chandan kumar wrote:
sir,

I entered some random binary data in a file (like 1001011010101) and and saved it in .dat format.
I created a flow graph and tried to read those data. I am unable to read it. 

Also, in some flow graph when I writes something to a text file using file sink, it is something in symbols (like @, #, $ &, A) not in numbers. Please help me on this.


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]