[Top][All Lists]

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

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or histor

From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)
Date: Tue, 15 Nov 2011 18:21:37 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 11/15/2011 06:16 PM, Achilleas Anastasopoulos wrote:
Take a look at the attached grc file:

As implemented, it does not work (changing the delay does not have an effect).

If I introduce the "fictitious" filter (1,0,0,0,0,..)
it works as expected.

AM I doing something wrong in the first case?


It seems that the runtime machinery pays attention to d_history *only* on block init, and at no other time, which leads to unexpected
  results.  But, surely, this must have worked at some point?

I mean, I regularly use filters whose parameters I change dynamically, and they apparently do what I want, although, perhaps at the moment
  of changing parameters, the phasing isn't "right", but they seem to work.

Someone with more exposure to the gr-runtime stuff should comment here.

Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

reply via email to

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