From: Activecat [[email protected]]
Sent: 17 June 2014 08:39
To: [email protected]
Cc: David Halls
Subject: Re: [Discuss-gnuradio] Using set_min_output_buffer() in Python block
On Tue, Jun 17, 2014 at 1:02 AM, David Halls
<[email protected]mailto:[email protected]> wrote:
My calls using
fail at runtime. Perhaps I am missing some import statements?
“AttributeError: ‘bsld_dec_butterfly_cfb’ object has no attribute
The “set_min_noutput_items()” is not yet a supported python statement  as per
March 06, 2014.
Also, I believe this statement should be placed in the member functions
(constructor, work function, callback function etc) of your custom block, don’t
put it at the wrong place.
In alternative, you may want to replace it with “set_output_multiple()” if this
is more appropriate.
Thanks Activecat!!! I had the problem that
“out_rc[0:len(rcABm)] = rcABm
ValueError: operands could not be broadcast together with shapes (4096)
where “out_rc = output_items”
using set_output_multiple(40962) has resolved my problem by increasing
the length of the output buffer vector to 40962. I wonder if there is a
fixed limit as to how far I can stretch this? In the future I may want
my decoder to output even more than blocks in one go.
NOTE: The information in this email and any attachments may be
confidential and/or legally privileged. This message may be read, copied
and used only by the intended recipient. If you are not the intended
recipient, please destroy this message, delete any copies held on your
system and notify the sender immediately.
Toshiba Research Europe Limited, registered in England and Wales
(2519556). Registered Office 208 Cambridge Science Park, Milton Road,
Cambridge CB4 0GZ, England. Web: www.toshiba.eu/research/trl