discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] parameters of benchmark_ofdm_tx.py?


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] parameters of benchmark_ofdm_tx.py?
Date: Thu, 31 Jul 2008 07:33:38 -0400
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

James Park wrote:
Hi,
are there any parameter that I can modify benchmark_ofdm_tx.py for number of subchannels, or amplitude of each subchannels?

./benchmark_ofdm_tx.py --help

That will tell you the command-line arguments you can use. "--fft-length" is the number of subcarriers, "--occupied-tones" is the number of use dsubcarriers. You can't do anything about modulation or amplitude per subchannel, though.

Also, I want to save the data with benchmark_ofdm_tx.py and benchmark_ofdm_rx.py adding self.connect(self.txpath, gr.file_sink (gr.sizeof_gr_complex, "data.dat")) self.connect(self.rxpath, gr.file_sink (gr.sizeof_gr_complex, "data.dat")) does it make sense?
I don't know why but I have error in ofdm_rx.py.
Thank you for your help.

The txpath returns a complex stream, so the first connect will work. The rxpath does not return anything; it passes messages back through a message queue. Look in the rxpath and you can tap out different parts. Also, if you use "--log" on the command line, it will dump most of the blocks to their own .dat files.

Also, in the future, it would be nice to know what the error you're getting is. I'm just guessing that this is your problem.

Tom





reply via email to

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