Please see attached simple hier block with 4 complex outputs
and 1 async message output.

Everything compiles but the application does not run giving python error:

Using Volk machine: sse4_1_64_orc
Traceback (most recent call last):
  File "./test_msg.py", line 67, in <module>
    tb = test_msg()
  File "./test_msg.py", line 31, in __init__
    self.test_msg_hier_0 = test_msg_hier()
  File "/home/anastas/.grc_gnuradio/test_msg_hier.py", line 34, in __init__
    self.connect((self, 0), (self, 0))
  File
"/usr/local/lib64/python2.7/site-packages/gnuradio/gr/hier_block2.py", line
75, in connect
    self._connect(points[i-1], points[i])
  File
"/usr/local/lib64/python2.7/site-packages/gnuradio/gr/hier_block2.py", line
81, in _connect
    dst_block.to_basic_block(), dst_port)
  File
"/usr/local/lib64/python2.7/site-packages/gnuradio/gr/runtime_swig.py",
line 2848, in primitive_connect
    return _runtime_swig.hier_block2_sptr_primitive_connect(self, *args)
ValueError: connect: src and destination blocks cannot be the same



Notice that the python file of the hier block indexes outputs as 0,1,2,4
instead of 0,1,2,3

?????????

Achilleas

-----------------------

linux; GNU C++ version 4.8.2 20131017 (Red Hat 4.8.2-1); Boost_105300;
UHD_003.005.004-143-gde4ce9ea
<<< Welcome to GNU Radio Companion 3.7.2git-142-g66196335 >>>

Attachment: test_msg_hier.grc
Description: Binary data

Attachment: test_msg.grc
Description: Binary data

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to