hi, all:
   I declared a subclass of hier_block2 with two output stream ports and one 
input message port in C++ , but when I connected them in a top block, the top 
block can't start, it said: insufficient connected output ports (2 needed, 0 
connected). But I'm sure I have connected the ports correctly. But it will run 
succesfully if I do not connect the message port.
    If I declare this bock in Python, the ports can be connected successfully, 
but there is no set_message_handler method in hier_block2 python object, so I 
can not process the messages.
   Actually, I want to feedback something to the hier_block2.
   Can anybody help me? Thanks a lot.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to