Thursday, August 17, 2023

Re: Using a signal as a parameter in a block?

Hi Tom,

You are assuming the "delay" input of the Delay block was sample-synchronous – it's not!
Messages are asynchronous to samples by design. Repeating the same message hence doesn't
do what you want:
What you're trying to do, keep the delay constant for 1023 samples, then change it, keep
it constant… but that would require that the delay block "waits" for a new message for
every sample it processes. It doesn't (and it can't).

I think in your situation, learning how to write a Python (or C++, if that's easier for
you) block to do in one place what you want to happen here would be the only solution –
and not too hard.

Best regards,
Marcus

On 17.08.23 14:59, tom sutherland wrote:
> I want to use the output value of a signal generator as the delay value of a delay block.
> Is there a way to pass the output of a signal generator(saw tooth) to the delay block? I
> have attached an initial grc file and a picture of what I want to do. Any help would be
> appreciated.
> Thanks...Tom
> PS Do you know if I need to sign up for any workshops, etc.. at the GNURadio Conference
> next month or do I just show up and take a seat? I've already registered.
>
> Inline image
>
>

No comments:

Post a Comment