How to decipher raw output of USRP to a file?

Hi,

I am trying to use C++ to read data from the USRP. I’ve compiled an
example found at the following address:
http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/host/apps/test_usrp_standard_rx.cc.
The program seems to run as intended and outputs the data to a file I
specify with -o. However, when I open the file it is binary and I don’t
understand how the file is structured. I would like to take the data
stored in this output file and be able to display it graphically. Is the
file generated by the example above made up of integers? How are they
structured?

You can read the files with Matlab or Octave.

http://www.mail-archive.com/[email protected]/msg09567.html

This should explain it.

http://gnuradio.org/trac/browser/gnuradio/trunk/usrp/host/apps/test_usrp_standard_rx.cc.
The program seems to run as intended and outputs the data to a file I
specify with -o. However, when I open the file it is binary and I don’t
understand how the file is structured. I would like to take the data
stored in this output file and be able to display it graphically. Is the
file generated by the example above made up of integers? How are they
structured?

I believe most of the gnuradio users have matlab or octave installed
and use http://gnuradio.org/trac/wiki/Octave

Jason

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs