discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Can't use set_output_multiple from python


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Can't use set_output_multiple from python
Date: Mon, 15 Aug 2016 23:36:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Eugene,


could you elaborate?

gnuradio-runtime/include/gnuradio/block_gateway.h definitely contains set_output_multiple.

I think it's possible that it was forgotten to add `void set_output_multiple(int);` to gnuradio-runtime/swig/block.i

Can you do a quick test whether that fixes it for you, and if it does, make a pull request?


Best regards,

Marcus




On 15.08.2016 23:23, Eugene Grayver wrote:

Is there any reason why we can't set a blocks output_multiple outside its constructor?  I.e. why is set_output_multiple not swigged in the gateway block to be available from python?  I frequently have scenarios where the output multiple is not known in the constructor but only in the python script that creates the block.  This is usually for 'streaming' blocks that are operating on fixed-length (semi-packetized) data.


________________________

Eugene Grayver, Ph.D.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274
________________________



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


reply via email to

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