discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] File sink Reading issue


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] File sink Reading issue
Date: Fri, 21 Apr 2017 15:27:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Dear Jahnavendra,


first of all: please avoid cross-posting if not really necessary. this is a GNU Radio, not a USRP-users problem.

Also, I'm absolutely not sure what I *personally* have to do with that, and thus, why I'm in there in the personal To: lines (or why Juha and Lars and Nate are) but oh well, since I also am on both mailing list:


 file contains i think ascii characters
No, it doesn't. Not at all!

I've already linked to the relevant FAQ entry, I'll happily do that again:

https://wiki.gnuradio.org/index.php/FAQ#What_is_the_file_format_of_a_file_sink.3F_How_can_I_read_files_produced_by_a_file_sink.3F

So, this is simply plain raw binary data, and not ASCII at all. The FAQ entry has source code that shows how to read these things, e.g. from Matlab/octave and python. In C and C++, and many other languages, reading raw data is just as easy; in fact, the functions are often even called the same (fread).

Best regards,
Marcus

On 04/21/2017 07:30 AM, M.JAHNAVENDRA wrote:

Dear all,


The file sink issue is the major one. I am trying to read the file sink recorded"file" and the file contains i think ascii characters, html characters and some special characters and i cant able to read it & i am using USRP1 device and it's older version. Can anyone tell me that how to read the file without characters. Kindly notify me is there anything wrong in my experiment. I have to record and read the data for some hours. If anyone familiar about this issue kidly explain me. I f anyone has any advices,suggestions and comments, they would be greatly appreciated.

Best Regards,
M.Jahnavendra



reply via email to

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