[USRP-users] Reading binary data from GNU Radio
marcus.mueller at ettus.com
Mon Apr 27 09:28:06 EDT 2015
in principle, you're right. GNU Radio stores away the complex numbers
just as they are in memory -- 32bit real, 32bit imag, 32bit real ...
Maybe you've got the data type wrong. What is the type of your file
sink? Most things in GNU Radio work with 32bit float complex, not 32bit
PS: that's asked really frequently, thus, and especially for people who
might later find this mailing list thread in the archives:
On 04/27/2015 02:55 PM, Awantha Jayasiri via USRP-users wrote:
> I am trying to read a binary file saved in file_sink in Gnu_radio,
> using C.
> I have tried using 32bit int variable as 1st 32 bit is in-phase and
> the next 32 bit is quad-phase for a complex number and repeat until
> eof. However, it didn't give me good resutls.
> Can anybody tell me how the GNU radio stores complex numbers in the
> bin file and how they are read using C?
> Any help is greately appriciated!
> Thanks and regards,
> USRP-users mailing list
> USRP-users at lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users