discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] What happens to a block as wait() finishes?


From: John Wilson
Subject: [Discuss-gnuradio] What happens to a block as wait() finishes?
Date: Mon, 2 Aug 2010 21:16:03 +0100

Hello,

I'm just wondering, what happens within block code when whatever shuts down the graph after the gr_top_block.wait() executes? Is there condition detectable from within a block which could be used to run some code when the block pauses? I want to copy the remaining input buffer into an internal memory buffer to fix a problem I'm getting with the FIR block over a wait() run() cycle.

Also I'm guessing that I can overload the gr_block.start() function within a custom block declaration to copy this buffer back to the input buffer somehow?

Cheers,

John

reply via email to

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