discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] output operand requires a reduction, but reductio


From: Martin Braun
Subject: Re: [Discuss-gnuradio] output operand requires a reduction, but reduction is not enabled
Date: Wed, 12 Mar 2014 09:53:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 11.03.2014 17:10, David Halls wrote:
Hi,

Yes, the len(output_items[0]), is either 1 or 2...

If I set_output_multiple to 10, then this value raises to 10.

Can you post the entire block code?

M

It is dominated by the fact that one of the inputs to my block is much
lower than the other?? Input[0] is the data stream and has say 768
items, input[1] is the packet average SNR, so it only has 1 or 2 items
in the same period.

Forecast is currently

For I in range (len(ninput_items_required)):
Ninput_items_required[i] = noutput_items

Does this need to be altered for my case where I have two inputs with
very different requirements.

If I ever get my head around the scheduler in GNU radio, it will be a
happy day :)

D

-----Original Message-----
From: address@hidden
<mailto:address@hidden>
[mailto:address@hidden
On Behalf Of Martin Braun
Sent: 11 March 2014 15:27
To: address@hidden <mailto:address@hidden>
Subject: Re: [Discuss-gnuradio] output operand requires a reduction, but
reduction is not enabled

On 03/11/2014 04:24 PM, David Halls wrote:
 > Please see the papers we've submitted so far this year. Not exactly
 > WNC, yet... We're putting one together as we speak though.
 >
 > I am not sure I understand your reply fully...
 >
 > Len(out_bA1) is only 1 or 2, so I can only set one or two elements?

Is this before or after you assign something? What's len(output_items[0])?

 > How can I extend the length of out_bA1, so I can output all of est_bA1m?

You can't, not in the work function. You can do things like
set_output_multiple() to influence the size of the output buffer.

 > Or alternatively Is it possible for me to set
 >
 > "output_items[0][0:len(est_bA1m)] = est_bA1m"

That would work, if len(est_bA1m) < len(output_items[0]) AND they have
the right "shape" (in matrix terms).

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


________________________________

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
<http://www.toshiba.eu/research/trl>


------------------------------------------------------------------------
This email has been scanned for email related threats and delivered
safely by Mimecast.
For more information please visit http://www.mimecast.com
------------------------------------------------------------------------




reply via email to

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