|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] ofdm benchmark issue |
Date: | Fri, 15 Feb 2013 13:12:23 -0500 |
Hi everyone, I am newbie on gnuradio and I have a question about ofdm
benchmark. If I use benchmark_tx.py and benchmark_rx.py I have a good
performance, (an error rate below 10%).
However, if I only modify the benchmark_tx.py and I add only a
time.sleep(1) between send_pkt(payload) like is shown in the
following code of the benchmark_tx.py:
while n < nbytes:
if options.from_file is None:
data = "" - 2) * chr(pktno & 0xff)
else:
data = "" - 2)
if data == '':
break;
payload = struct.pack('!H', pktno & 0xffff) + data
send_pkt(payload)
n += len(payload)
print (n)
if options.discontinuous and pktno % 5 == 4:
time.sleep(1)
pktno += 1
time.sleep(1) # this is the line added
send_pkt(eof=True)
In this case, the packets error rate is above 50% and there are some
underruns on the transmitting screen.
Could someone explain me where is the problem and how can I solve it?
Thanks in advance,
Pablo Belzarena.
[Prev in Thread] | Current Thread | [Next in Thread] |