Error with benchmark_rx program

Hi,
I am facing a problem with benchmark_rx.py. On receiving side, sometimes
its
reporting problem with unpack module for payload. I have used the same
program previously too and didn’t have any issue with the same. I am
confused what can be causing this problem. For you information, I am
using
Ubuntu 7.10 and 8.04 on different desktop machines with GNU Radio 3.1.1
and
USRP1.
Detailed snapshot of program execution is given below.

Please help me in this matter. Awaiting for a kind response.

  • Sachin

/gnuradio-3.1.1/gnuradio-examples/python/digital$ ./benchmark_rx.py -f
2400M
-m dbpsk -v
6801
Attach and press enter:

gr_fir_ccf: using SSE

Demodulator:
bits per symbol: 1
Gray code: True
RRC roll-off factor: 0.35
Costas Loop alpha: 1.50e-01
Costas Loop beta: 5.62e-03
M&M mu: 0.50
M&M mu gain: 1.00e-01
M&M omega: 2.00
M&M omega gain: 2.50e-03
M&M omega limit: 0.01

Receive Path:
Using RX d’board A: Flex 2400 Rx MIMO B
Rx gain: 45
modulation: dbpsk_demod
bitrate: 500kb/s
samples/symbol: 2
decim: 64
Rx Frequency: 2.4G
Warning: Failed to enable realtime scheduling.


ok = False pktno = 3971 n_rcvd = 996 n_right = 0
Exception in thread Thread-1:
Traceback (most recent call last):
File “threading.py”, line 460, in __bootstrap
self.run()
File
“/usr/local/lib/python2.5/site-packages/gnuradio/blks2impl/pkt.py”,
line 164, in run
self.callback(ok, payload)
File “./benchmark_rx.py”, line 61, in rx_callback
(pktno,) = struct.unpack(‘!H’, payload[0:2])
File “struct.py”, line 87, in unpack
return o.unpack(s)
error: unpack requires a string argument of length 2


View this message in context:
http://www.nabble.com/error-with-benchmark_rx-program-tp20236572p20236572.html
Sent from the GnuRadio mailing list archive at Nabble.com.