Forum: GNU Radio Custom block one input/output variable number of output/inputs

Posted by George Sklivanitis (Guest)
on 2012-12-18 10:12
(Received via mailing list)
Hello everybody,

In the following case study gr_file_source-> pll_clock_sync->
gr_complex_to_float -> custom_block(1 input, 2outputs) in gnuradio, by
printing the counter of noutput_items of my custom block, I observe that 
it
reaches a multiple of 2 samples then it gets to zero and restarts again.
Overall the number of output samples are the expected ones but why the
counter over the item restarts at some time instants?

Thanks,
-George
Posted by George Sklivanitis (Guest)
on 2012-12-19 23:38
(Received via mailing list)
Hello everybody,

In the following case study gr_file_source-> pll_clock_sync->
gr_complex_to_float -> custom_block(1 input, 2outputs) in gnuradio, by
printing the counter of noutput_items of my custom block, I observe that 
it
reaches up to a number of samples then it gets to zero and restarts 
again.
Overall the number of output samples is the expected ones but why the
counter over the noutput_items restarts at some time instants?

Thanks,
-George


--
Sklivanitis Georgios
Postgraduate Student
Posted by Tom Rondeau (Guest)
on 2012-12-20 05:01
(Received via mailing list)
On Wed, Dec 19, 2012 at 5:37 PM, George Sklivanitis <
george.sklivanitis@gmail.com> wrote:

> Thanks,
> -George
>
>
> --
> Sklivanitis Georgios
> Postgraduate Student
>


That's pretty typical behavior when running full-tilt (that it, when
there's nothing controlling the rate like a radio, sound card, throttle,
etc.).  I could give you some opinions on why I think it behaves this 
way,
but they'd probably all be wrong. Most importantly, it's not a bug in 
your
system, just how the scheduler adapts.

Tom
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.