BBN 802.11 USRP2 code, failing on git master

Hi all,

Has anyone gotten the usrp2_version branch of the BBN 802.11 code on
CGRAN
working with the current git master? Whenever I try to run the
receiver, I
get:

$ ./bbn_80211b_rx.py
Traceback (most recent call last):
File “./bbn_80211b_rx.py”, line 126, in
main ()
File “./bbn_80211b_rx.py”, line 121, in main
app = app_flow_graph()
File “./bbn_80211b_rx.py”, line 109, in init
self.u = usrp_rx(options.decim, options.verbose, options.gain,
options.freq)
File “./bbn_80211b_rx.py”, line 57, in init
gr.hier_block2.init(self, “usrp_rx”, gr.io_signature(0, 0, 0),
gr.io_signature(1, 2, gr.sizeof_gr_complex))
File “/usr/lib/python2.6/dist-packages/gnuradio/gr/hier_block2.py”,
line
42, in init
self._hb = hier_block2_swig(name, input_signature, output_signature)
File
“/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 971, in hier_block2_swig
return _gnuradio_swig_py_runtime.hier_block2_swig(*args, **kwargs)
RuntimeError: Hierarchical blocks do not yet support arbitrary or
variable
numbers of inputs or outputs (usrp_rx)

  • George

If you change the io_signature(1,2, …) to io_signature(1,1, …) I
believe it will work.

/Ulrika


Från: discuss-gnuradio-bounces+ulrika.uppman=removed_email_address@domain.invalid
[mailto:discuss-gnuradio-bounces+ulrika.uppman=removed_email_address@domain.invalid] För
George N.
Skickat: den 24 november 2009 21:27
Till: discuss-gnuradio; Colby B.; Douglas G.
Ämne: [Discuss-gnuradio] BBN 802.11 USRP2 code, failing on git master

Hi all,

Has anyone gotten the usrp2_version branch of the BBN 802.11 code on
CGRAN working with the current git master? Whenever I try to run the
receiver, I get:

$ ./bbn_80211b_rx.py
Traceback (most recent call last):
File “./bbn_80211b_rx.py”, line 126, in
main ()
File “./bbn_80211b_rx.py”, line 121, in main
app = app_flow_graph()
File “./bbn_80211b_rx.py”, line 109, in init
self.u = usrp_rx(options.decim, options.verbose, options.gain,
options.freq)
File “./bbn_80211b_rx.py”, line 57, in init
gr.hier_block2.init(self, “usrp_rx”, gr.io_signature(0, 0, 0),
gr.io_signature(1, 2, gr.sizeof_gr_complex))
File “/usr/lib/python2.6/dist-packages/gnuradio/gr/hier_block2.py”,
line 42, in init
self._hb = hier_block2_swig(name, input_signature, output_signature)
File
“/usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 971, in hier_block2_swig
return _gnuradio_swig_py_runtime.hier_block2_swig(*args, **kwargs)
RuntimeError: Hierarchical blocks do not yet support arbitrary or
variable numbers of inputs or outputs (usrp_rx)

  • George