[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] extend benchmark_ofdm_tx.py with file_sink?
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] extend benchmark_ofdm_tx.py with file_sink? |
Date: |
Fri, 25 Jul 2008 14:11:58 -0700 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Fri, Jul 25, 2008 at 04:09:13PM -0400, James Park wrote:
> Hi,
>
> Can anybody tell me how to save transmit data from benchmark_ofdm_tx.py
> using file_sink?
> I added
> self.file_sink = gr.file_sink(gr.sizeof_gr_complex,"filename.dat") and
> self.connect(self.txpath, self.file_sink)
> but using matlab, it does not look right.
> Thank you.
>
> James,
That's the right place to log the transmit data.
Did you read George's new page on Octave:
http://gnuradio.org/trac/wiki/Octave
To get the data into octave (or matlab), you'll want to use
read_complex_binary.m or an equivalent. Please note that we know that
read_complex_binary.m works correctly; we use it all the time.
Eric