discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Marcus Müller
Subject: Re: Using a signal as a parameter in a block?
Date: Thu, 17 Aug 2023 20:08:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

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





reply via email to

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