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



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

Reply via email to