discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Silent exit when changing selector index


From: colin
Subject: [Discuss-gnuradio] Silent exit when changing selector index
Date: Sun, 13 Sep 2015 11:58:36 -0700 (MST)

I'm attempting to run a top block generated by GRC in a Python script,
invoking the getters and setters of the block from another thread.

One frustration is that my script silently exits with code 0 when changing
the output index of a selector with  grc_blks2.selector.set_input_index()
<https://github.com/gnuradio/gnuradio/blob/v3.7.5/grc/grc_gnuradio/blks2/selector.py#L90>
 
. For a split second, things sound fine -- the selection is successful and I
can hear the expected audio. Then the script silently terminates. As best I
can tell from a debugger, something is going wrong inside the /unlock()/
function of the class /hier_block2_sptr/ in a generated file called
//gr/runtime_swig.py/.

This problem only occurs using the lowercase (non-GUI) /start()/ and
/wait()/ to start the top block. When using the uppercase wxgui
/Start(True)/ and /Wait()/, everything is fine.

Anyone have any ideas? Where would error logs be available? Nothing appears
on stdout.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Silent-exit-when-changing-selector-index-tp56025.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

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