How to stop a hier_block2?

Hello,

I’ve defined a hier_block2 to transmit a signal and I need to start/stop
it
under certain conditions. The problem is that I’m not able to stop it. I
tried it calling the top_block.disconnect(my_hier_block) method. Then I
tried calling the my_hier_block.disconnect_all() method but none of them
works. Is that possible or does exist another way to achieve that?

Thanks in advance.

View this message in context:
http://old.nabble.com/How-to-stop-a-hier_block2--tp29205188p29205188.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On 19 July 2010 16:18, killoqg [email protected] wrote:

Hello,

I’ve defined a hier_block2 to transmit a signal and I need to start/stop it
under certain conditions. The problem is that I’m not able to stop it. I
tried it calling the top_block.disconnect(my_hier_block) method. Then I
tried calling the my_hier_block.disconnect_all() method but none of them
works. Is that possible or does exist another way to achieve that?

Maybe try the start(), stop(), … methods
http://gnuradio.org/redmine/wiki/gnuradio/TutorialsWritePythonApplications
-> Controlling flow graphs

Alex

Thanks for your response Alex.

The hier_block2 blocks do not have start/stop methods, and I can not
stop
my top_block because I have another hier_block that I need to be
running.

Alexandru C.-3 wrote:

works. Is that possible or does exist another way to achieve that?
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://old.nabble.com/How-to-stop-a-hier_block2--tp29205188p29205737.html
Sent from the GnuRadio mailing list archive at Nabble.com.

I was thinking of putting them in different top blocks, but maybe
that’s not possible, I don’t know.

Alex

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs