Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-16 Thread Achilleas Anastasopoulos
I can confirm that if my FIR taps are defined as: (0,)*delay+(1,)+(0,)*(19-delay) then i can change the delay dynamically for any values between 0 and 19 in the grc file that i sent earlier (attached here as well) EVEN without the second (trivial) FIR filter present! So it is clearer now that

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Achilleas Anastasopoulos
Marcus, The grc file that i sent does not support your theory: I have 2 filters: one with taps: (0,)*delay+(1,) and the other with taps (1,)+(0,)*delay then I can change the delay dynamically, which also means that the history is also changed dynamically (NOT ONLY AT INIT) and there is no

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Marcus D. Leech
On 11/15/2011 07:24 PM, Achilleas Anastasopoulos wrote: Marcus, The grc file that i sent does not support your theory: I have 2 filters: one with taps: (0,)*delay+(1,) and the other with taps (1,)+(0,)*delay then I can change the delay dynamically, which also means that the history is also

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Johnathan Corgan
On Tue, Nov 15, 2011 at 16:44, Marcus D. Leech mle...@ripnet.com wrote: But clearly, there's some brokenness there, and it's not clear to *me* how to fix it, although I desperately want dynamically-settable gr_delay() blocks to work as well, for some interferometry work. Sorry, I've been

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Marcus D. Leech
On 11/15/2011 11:19 PM, Johnathan Corgan wrote: On Tue, Nov 15, 2011 at 16:44, Marcus D. Leech mle...@ripnet.com mailto:mle...@ripnet.com wrote: But clearly, there's some brokenness there, and it's not clear to *me* how to fix it, although I desperately want dynamically-settable

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Josh Blum
On 11/15/2011 12:00 PM, Achilleas Anastasopoulos wrote: I made a simple example with a cosine and a delayed version of that going through a multiplier, and observing the output together with a slider that changes the delay dynamically. However i do not see any change (eg, elimination of the

[Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Achilleas Anastasopoulos
I made a simple example with a cosine and a delayed version of that going through a multiplier, and observing the output together with a slider that changes the delay dynamically. However i do not see any change (eg, elimination of the dc component when delay ~ pi/2). Looking at the code of the

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Marcus D. Leech
On 15/11/2011 3:00 PM, Achilleas Anastasopoulos wrote: I made a simple example with a cosine and a delayed version of that going through a multiplier, and observing the output together with a slider that changes the delay dynamically. However i do not see any change (eg, elimination of the dc

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Achilleas Anastasopoulos
I actually tried using filters to implement the delay and they do NOT work as expected: I used Interpolating FIR filter with taps equal to (0,)*delay+(1,) and i didn't see any difference as i was changing the delay parameter dynamically Achilleas On Tue, Nov 15, 2011 at 3:05 PM, Marcus D.

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Marcus D. Leech
On 11/15/2011 05:01 PM, Achilleas Anastasopoulos wrote: I actually tried using filters to implement the delay and they do NOT work as expected: I used Interpolating FIR filter with taps equal to (0,)*delay+(1,) and i didn't see any difference as i was changing the delay parameter

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Achilleas Anastasopoulos
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? Achilleas On Tue, Nov 15, 2011 at 5:26 PM, Marcus D.

Re: [Discuss-gnuradio] dynamically changing delay in gr_delay (or history in any gr_block)

2011-11-15 Thread Marcus D. Leech
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?