Hi Snehasish,

file endings are just names. They don't say anything about the content.


GNU Radio doesn't accept a single data type, but has file source
parametrizations that will lead to giving you the data in the file as
single bytes, as pairs of bytes interpreted as shorts, as 4 Bytes
interpreted as one floating point number and so on. Core concept here: A
file is just a sequence of bytes. What kind of numbers these bytes
represent is up to the software writing these bytes.


rx_samples_to_files can write a set of different number formats – along
these 2x16bit-signed int-complex, and 2x32bit float-complex. And you'll
have to use the file source with a type that matches that. So, this all
depends on what you used as `--type` when you ran rx_samples_to_file.


Best regards,

Marcus



On 04.08.2017 22:00, Snehasish Kar via USRP-users wrote:
>
> Hello
>
>
> Please let me know the difference between cfile and .dat file
> generated by
> https://github.com/EttusResearch/uhd/blob/maint/host/examples/rx_samples_to_file.cpp
> .
>
> I tried using it and feeding it to gnuradio program that accepts
> cfile,but it didnot help. Please help me with it.
>
>

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to