[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Multiple simultaneous top blocks?
From: |
Johnathan Corgan |
Subject: |
Re: [Discuss-gnuradio] Multiple simultaneous top blocks? |
Date: |
Fri, 15 Feb 2008 09:29:55 -0800 |
On 2/15/08, Kshitij Kumar Singh <address@hidden> 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/