Hello Jahnavendra Mattipa:

Unfortunately, I am having a trouble opening your GRC file. If you are
reading it from GNU Radio, you can simply use a file source. If you are
using Matlab/Octave, you can do something like this:

read = fread(fopen('sam.dat'),2048,'single');
IQ = read(1:2:end) + read(2:2:end)*i;

Where 'sam.dat' is the file path, 2048 is the length to read, and 'single'
is the datatype (ieee754 single precssion). (Assuming complex datatype; if
float, data is not interleaved so you should skip the second line).

The data is in pure binary format, so text editors won't open it properly
(as explained in the GNURadio wiki).

Regards,
Kyeong Su Shin

On Sun, Apr 2, 2017 at 10:14 PM, Jahnavendra Mattipa <
jahna.mattipa2...@gmail.com> wrote:

> Hello all,
> ​
>  1st.py
> <https://drive.google.com/file/d/0B8eQdTtbAbwTMTZ1UlZtZmdybGs/view?usp=drive_web>
> ​​
>  array
> <https://drive.google.com/file/d/0B8eQdTtbAbwTZkxVcHJTb1J5UDQ/view?usp=drive_web>
> ​​
>  fm_record.txt
> <https://drive.google.com/file/d/0B8eQdTtbAbwTR09NZDJVMklRYkE/view?usp=drive_web>
> ​​
>  lpf.grc
> <https://drive.google.com/file/d/0B8eQdTtbAbwTbk80QVoyUmZqX2s/view?usp=drive_web>
> ​​
>  sam.dat
> <https://drive.google.com/file/d/0B8eQdTtbAbwTUllZc2s1RW5wemM/view?usp=drive_web>
> ​​
>  sam.doc
> <https://drive.google.com/file/d/0B8eQdTtbAbwTNjJDcTB4aHJ1Rnc/view?usp=drive_web>
> ​ I am jahnavendra. I am facing some difficulty while recording the data
> in the gnuradio 'grc' file. I recorded data using fil sink but it is
> looking like some special characters are showing while opening the recorded
> file. Can anyone please tell me how to identify the recorded data and which
> which format best suites to open the file. While recording the data using
> signal generator it is creating in the order of GB range files and i
> attached some recorded files, using these you may get an idea about my
> problem.
>           Thank you in advance.
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to