On 2/15/08, Kshitij Kumar Singh <[EMAIL PROTECTED]> wrote:

>        For an application I needed to import some data into my module
>  and then packetize it. The data
>  being quite large, comes from a file. My problem is that multiple
>  instances of top_block aren't allowed,
>  so once I have imported my data, I can't run my program.

At the end of your imported script, add:

tb = None

This will cause the top block instance to go out of scope and be
deleted, so you can create another one at a later point.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to