[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Re: Help:How to print the payload in benchmark_ofdm_t
From: |
Archana Ragothaman |
Subject: |
[Discuss-gnuradio] Re: Help:How to print the payload in benchmark_ofdm_tx.py |
Date: |
Tue, 6 Nov 2007 14:13:18 -0400 |
Message: 2
Date: Wed, 17 Oct 2007 18:45:15 -0700
From: Eric Blossom <address@hidden>
Subject: Re: [Discuss-gnuradio] Help:How to print the payload in
benchmark_ofdm_tx.py
To: Archana Ragothaman <address@hidden>
Cc: address@hidden, Johnathan Corgan <
address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii
On Wed, Oct 17, 2007 at 05:07:37PM -0400, Archana Ragothaman wrote:
> 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
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
Hello,
I used the print statements as above in the send_pkt function defined in ofdm.py script in the blksimpl block.
However, when I run the benchmark_ofdm_tx.py script, I see that no file is created and the payload is not saved in a file. Is the send_pkt function in
ofdm.py called? Is there any other method by which I can print the payload that is being transmitted?
Regards,
Archana
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] Re: Help:How to print the payload in benchmark_ofdm_tx.py,
Archana Ragothaman <=