discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Error in hier block with 4 outputs and an async messa


From: Achilleas Anastasopoulos
Subject: [Discuss-gnuradio] Error in hier block with 4 outputs and an async message!
Date: Thu, 30 Jan 2014 16:17:04 -0500


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


reply via email to

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