discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] insufficient connected output ports


From: Nemanja Savic
Subject: Re: [Discuss-gnuradio] insufficient connected output ports
Date: Wed, 4 Sep 2013 13:16:26 +0200

Thank you Marcus, this works.


On Wed, Sep 4, 2013 at 1:03 PM, Marcus Müller <address@hidden> wrote:
Hi Nemanja!
None is an object of type NoneType; thus, the output signature list has length 1; it should have length 0.
Use out_sig=[] instead.

Greetings,
Marcus


On 09/04/2013 12:48 PM, Nemanja Savic wrote:
This is a bit frustrating situation, and I don't know how to solve the problem. I tried to figure out what's going on, and wanted to call function input_signature () from python i norder to see what is the actual output signature but this function can't be called. I also couldn't find right explanatoin for port problem.
Any suggestions?

Nemanja


On Tue, Sep 3, 2013 at 5:33 PM, Nemanja Savic <address@hidden> wrote:
I am sorry, the subject of previous post is wrong cause I solved that problem meanwhile, but I forgot to change it in the draft.


On Tue, Sep 3, 2013 at 5:24 PM, Nemanja Savic <address@hidden> wrote:
Hi all,

this thread is more or less extension of the thread: http://gnuradio.4.n7.nabble.com/3-6-4-2-test-fail-tc43452.html

It looks that my 3.6.4git versio doesn't support message passing logic within python, so I switched to another pc where I run 3.7.0. I assume that because there is no function for registering message ports, but when I changed to 3.7.0, there was no that error any more.
No the problem is the following:

the block is very simple:

    def __init__(self):
        gr.sync_block.__init__(self,
            name="msg_sender",
            in_sig=[numpy.int8],
            out_sig=[None])

        self.message_port_register_out(pmt.pmt_intern('out_port'))

but when i run flowgraph, the following error comes out:
RuntimeError: msg_sender(2): insufficient connected output ports (1 needed, 0 connected)


From where came that output that I havent declared?

--
Nemanja Savić



--
Nemanja Savić



--
Nemanja Savić


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




--
Nemanja Savić

reply via email to

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