discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] File sink Recording Issue


From: Kyeong Su Shin
Subject: Re: [Discuss-gnuradio] File sink Recording Issue
Date: Mon, 3 Apr 2017 01:45:14 -0700

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 <address@hidden> wrote:
Hello all,
​​​​​​​​​​​ 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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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