[Top][All Lists]

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

[Discuss-gnuradio] hier_block2 with input message port and output stream

From: 您好
Subject: [Discuss-gnuradio] hier_block2 with input message port and output stream ports
Date: Wed, 19 Oct 2016 17:11:35 +0800 (CST)

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.


reply via email to

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