On 10/08/2014 03:24 PM, Carlos Alberto Ruiz Naranjo wrote:
Really the question is:
How can I call
gr::block::nitems_read ( unsigned int /which_input/ )
from a block to know the nitems_read of another block?
You call ‘nitems_read()’?
Not sure you should be calling it from other blocks, though.
Cheers,
M
Now the clock runs fine (with gr::block::nitems_read).
But I have another problem:
I have a rate of 10.23 million samples per second and I need to delay
the
signal ±1ns. With the modified block delay (controlled by an input) I
can
delay the signal 97.75ns (1 / 10,230,000 → + - one sample).
Could I use the fractional resampler block to enter a variable
fractional delay?
1ns?
What is the exact meaning of the parameter mu?
http://gnuradio.org/doc/doxygen-3.6/classgr_1_1filter_1_1mmse__fir__interpolator__ff.html
I do not understand it :S
2014-10-08 15:35 GMT+02:00 Martin B. [email protected]:
You call
another_block->nitems_read(number)
with number being the number of the input stream (ie. 0 for the first, 1
for the second and so on).
Remember, GNU Radio is C++, and blocks are built as classes.
Greetings,
Marcus