Benchmark OFDM Question

Hi everyone,
I am working on OFDM in gnuradio. I ran the benchmark_ofdm.py file.
Everything worked well, I want to ask one thing that I didn’t see the
last
packet on the terminal.
I set the packet size to 400 bytes and total number of bytes to be
transmitted to 1600. I should see 4 packets but i see only 3 packets.
Where
is the problem??
Portion of the code is given blelow:

nbytes = int(1600 * 1) //line that I changed
n = 0
pktno = 0
pkt_size = int(400) //line that I changed

while n < nbytes:
pkt_contents = struct.pack(’!H’, pktno) + (pkt_size - 2) * chr(pktno &
0xff)
send_pkt(pkt_contents)
n += pkt_size
pktno += 1

Output is shown below:

gr_fir_ccf: using SSE
gr_fir_ccc: using SSE
gr_fir_fff: using SSE
ok: True pktno: 0 n_rcvd: 1 n_right: 1
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

ok: True pktno: 1 n_rcvd: 2 n_right: 2
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101

ok: True pktno: 2 n_rcvd: 3 n_right: 3
0202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202

Why fourth packet is not sent ? Or if it is sent then why it is not
displayed in the output. I am using gnuradio 3.3.0. Please help me in
this.

Regards
Smith

Hi Everyone/Smith,
I am doin my M.Sc. project on OFDM Implementation in GNU RADIO (SDR) via
USRP.
I am quite new to GNU Radio i dont know much about its functions. I am
looking for benchmark_ofdm.py file that i can use to implement the
design n
GNU radio and later on transmit and recieve via USRP.
I will be very greatful to you if anyone of you send me the file or tell
me
where i can get all this info and how to implement (procedure).
Thanks in advance…
Waqas.
14/08/2011

[email protected]

smith mark wrote:


pktno += 1

this.


View this message in context:
http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32256377.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Sat, Aug 13, 2011 at 11:38 AM, waqasme [email protected] wrote:

Hi Everyone/Smith,
I am doin my M.Sc. project on OFDM Implementation in GNU RADIO (SDR) via
USRP.
I am quite new to GNU Radio i dont know much about its functions. I am
looking for benchmark_ofdm.py file that i can use to implement the design n
GNU radio and later on transmit and recieve via USRP.
I will be very greatful to you if anyone of you send me the file or tell me
where i can get all this info and how to implement (procedure).
Thanks in advance…
Waqas.

In the source code, you can find these scripts in
gnurdio-examples/python/ofdm.

Tom

Thank you so much Tom for your quick response… yes i have found the
code
scripts in gnurdio-examples/python/ofdm.
But iam not sure how to implement this code to make simulation in GNU
radio.
could you please explain in bit detail how to use this code to make the
tranmission and reception blocks in GNU Radio. I will really appriciate
if
you kindly guide me how to make this simulation work. Thanks for your
help
and for your valuable information. looking forward to hear from you.

Regards,

Waqas.
[email protected]
On Sat, Aug 13, 2011 at 11:38 AM, waqasme [email protected] wrote:

Thanks in advance…
Waqas.

In the source code, you can find these scripts in
gnurdio-examples/python/ofdm.

Tom


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32257757.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Thank you so much Tom for your quick response… yes i have found the
code
scripts in gnurdio-examples/python/ofdm.
But iam not sure how to implement this code to make simulation in GNU
radio.
could you please explain in bit detail how to use this code to make the
tranmission and reception blocks in GNU Radio. I will really appriciate
if
you kindly guide me how to make this simulation work. Thanks for your
help
and for your valuable information. looking forward to hear from you.
Anyone is welcome to answer …

Regards,

Waqas.
[email protected]


View this message in context:
http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32271118.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hello Tom,
Thank you so much Tom for your quick response… yes i have found the
code
scripts in gnurdio-examples/python/ofdm.
Please help me to implment this in GRC. i dont know how to use this code
to
make simulation blocks in SDR… where i have to put this code to make
simulation ? i am looking forward to hearfrom you. Thanks for ur help…
Thanks and Regards,

Waqas.
[email protected]

waqasme wrote:

Regards,

GNU radio and later on transmit and recieve via USRP.


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


View this message in context:
http://old.nabble.com/benchmark-OFDM-Question-tp31765422p32265421.html
Sent from the GnuRadio mailing list archive at Nabble.com.