discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] OFDM benchmark - premature termination


From: Katy Qian
Subject: [Discuss-gnuradio] OFDM benchmark - premature termination
Date: Mon, 6 Jul 2009 15:04:26 -0400

Hi,

For the majority of my tests (ex. below), with benchmark_ofdm_*, the
receiver terminates prematurely with:
...
ok: True         pktno: 7501     n_rcvd: 4537    n_right: 4263
ok: True         pktno: 7502     n_rcvd: 4538    n_right: 4264
ok: True         pktno: 7503     n_rcvd: 4539    n_right: 4265
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/gr_threading_24.py",
line 446, in __bootstrap
    self.run()
  File "/usr/local/lib/python2.4/site-packages/gnuradio/blks2impl/ofdm.py",
line 294, in run
    self.callback(ok, payload)
  File "./benchmark_ofdm_rx.py", line 168, in rx_callback
    (pktno,) = struct.unpack('!H', payload[0:2])
error: unpack str size does not match format
uOuOuOuOuOuO
...

It seems a certain combination of fftlength, occupied tones, and cp
length allows the program to run to completion (FFT/OT/CP = 64/28/54
and 40/20/32 works but 256/160/128 ends early). Does anyone know the
"magic" behind these sets of values, or can explain something I have
overlooked?

Also, is there a way to control / define exactly which subcarriers are
being used to transmit the data?

Any help is appreciated, thank you in advance.

Katy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]