Help:How to print the payload in benchmark_ofdm_tx.py

Hello,

I am trying to print the payload in the send_pkt function defined in
ofdm.py(/gnuradio-core/src/python/gnuradio/blks2impl).
I have used the following lines of code in send_pkt function.

f = open(“txdata.txt”,“a”)
s=string(payload)
f.write(s)
f.close()

However no file is created. I want to know the payload that is
transmitted
in the ofdm_benchmark_tx.py script. Kindly let me know if there is any
other
means of doing it.

Regards,

Archana Ragothaman
Master’s in Telecommunications
Graduate Research Assistant
MIND Lab,UMIACS
University of Maryland, College Park
Email: [email protected]
Phone: 240-422-7887

On Wed, Oct 17, 2007 at 05:07:37PM -0400, Archana Ragothaman wrote:

However no file is created. I want to know the payload that is transmitted
in the ofdm_benchmark_tx.py script. Kindly let me know if there is any other
means of doing it.

Regards,

Archana Ragothaman

The ofdm code in blksimpl2 has not yet been converted to use the new
hier_block2. I suspect that it’s currently broken. Try using the
version in blksimpl.

Johnathan, I think the non-working code in blksimpl2 should be
removed or fixed ASAP.

Eric