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 = (pkt_size - 2) * chr(pktno & 0xff)
        else:
            data = source_file.read(pkt_size - 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.

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

Reply via email to