discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Only 0's on the input of the custom block


From: Marcus Müller
Subject: Re: Only 0's on the input of the custom block
Date: Tue, 2 Aug 2022 15:43:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

Hi Bartłomiej,

throttle literally just copies input to output, so it can't turn anything into 0s that wasn't zeros before. This much sounds like your own block has a bug, where it doesn't check whether it has enough input or output, or returns (produces) a different number of items than you've actually produced.

Best regards,
Marcus

On 02.08.22 13:39, Bartłomiej Sójka wrote:
Hello,
I'm trying to design custom block that would perform FFT on the incoming signal 
and do some calculations with FFT values later.
The problem is that while using throttle my signal is reduced to all 0's. If 
it's before the block then the vector with values on the input is reduced to 
all 0 and if it's after the block then the output is reduced to all 0's. It 
seemingly happens at random as the gnuradio schematic sometimes compiles 
without that problem and sometimes, as said, throttle turns all values into 
0's. I know that simple solution would be to not use throttle, but I don't 
think it would solve my problem in a long term. I'm using GNU Radio Companion 
3.10.2.0 (Python 3.10.5).

Best regards
Bartłomiej Sójka




reply via email to

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