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
>

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

Reply via email to