Forum: GNU Radio gnuradio schedular

2d0f6bc46e0515bc4d82688718650b25?d=identicon&s=25 MHMND Herath (Guest)
on 2014-06-14 05:37
(Received via mailing list)
Dear sir
I experienced that after every 8191 samples variables of blocks becomes
0.
What is this 8191 limit?. I showed in gr_scheduler_overwive.pdf, N=2048.
Is
2048 number of samples? I noticed that 2048*4=8129. Please explain what
2048
and 8129

Thanks
Neil Herath
3c2c8407d19f3488e9cd2a28a9732bde?d=identicon&s=25 West, Nathan (Guest)
on 2014-06-15 01:23
(Received via mailing list)
On Fri, Jun 13, 2014 at 11:46 PM, MHMND Herath <mhher@ou.ac.lk> wrote:
> Dear sir
> I experienced that after every 8191 samples variables of blocks becomes 0.
> What is this 8191 limit?. I showed in gr_scheduler_overwive.pdf, N=2048. Is
> 2048 number of samples? I noticed that 2048*4=8129. Please explain what 2048
> and 8129
>
> Thanks
> Neil Herath
>


Hi Neil,

It's not clear (to me) what you're talking about here. To answer any
question it would help if you added a link to external documents,
mentioned a block (or blocks) that you're having problems with, and
describe the flowgraph/application that it occurs in.

Nathan
3c2c8407d19f3488e9cd2a28a9732bde?d=identicon&s=25 West, Nathan (Guest)
on 2014-06-16 11:37
(Received via mailing list)
That's how C++ classes work. If you declare a variable inside a method
that
variable gets declared every time the method is called. If you want the
variable to keep state between method calls you need to declare it as a
member of the class inside the class declaration.

For more information see any tutorial on C++ classes and look for
variable
scope.

Nathan
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.