File usrp_rx_cfile.py


#1

Hello,

I e-mailed this list last week and have had some issues trying to get
the
file usrp_rx_cfile.py to give me a proper output. The readme file says
that
the output is “single precision complex float values”. Honestly I do
not
know how to convert this data to a proper text that I can analyze. The
output file that is written is just a bunch of ‘NUL’ values when read in
Notepad++. When I read it in regular notepad, it is a similar garbled
message. The file can be found at this link:

http://www.prism.gatech.edu/~gtg640r/data.dat

Please let me know if you have any information in reading this output.

David Lindberg


#2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The data is packed binary data. Each complex samples is stored as 8
bytes, 4 bytes I as a float and 4 bytes Q. You need to use a binary
program to read these files. See read_complex_binary.m for MATLAB code
and the exact same syscalls translate directory into a C program to do
the same thing.

  • -Dan

David Lindberg wrote:

message. The file can be found at this link:


Discuss-gnuradio mailing list
removed_email_address@domain.invalid
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGp51Dy9GYuuMoUJ4RAohwAKCM60Ze1XaaZprksEPkTYEBG/+VjgCgyGBN
NWckaooTJlOkB/cRtF70IVI=
=WfU0
-----END PGP SIGNATURE-----