[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some GRC files run with no errors but don't plot
From: |
Marcus Müller |
Subject: |
Re: Some GRC files run with no errors but don't plot |
Date: |
Thu, 12 Oct 2023 13:59:07 +0200 |
User-agent: |
Mozilla Thunderbird |
I think I can explain!
Both sinks need to always consume the same number of input items from all their inputs.
So, even if you disabled the time sink, the upper sink would quickly grind to a halt,
because the "lowest rate" Rational Resampler (interp=1,decim=4) would not be able to
produce the samples needed to keep up with the "highest rate" resample (interp=4,
decim=1). Both resamplers work on the same input, just that the lowest-rate one takes 16×
the amount of input to produce the same amount of output as the highest-rate one. Since
both share the same input, and that input has a finite buffer, this can't work for long.
So, your flow graph has an architectural shortcoming, either way.
The time sink hits that bug you've built quicker, because it has no throttle in
the way.
Best,
Marcus