[Top][All Lists]

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

Re: [Discuss-gnuradio] usrp_siggen.py exits on Mac OS X

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] usrp_siggen.py exits on Mac OS X
Date: Wed, 29 Mar 2006 14:26:20 -0800
User-agent: Mutt/1.5.9i

On Wed, Mar 29, 2006 at 01:55:59PM -0800, Jonathan Jacky wrote:
> Eric,
> Whe I try to run a recent version of usrp_siggen.py from CVS on Mac OS X, 
> it produces the requested output signal for just a second or so, then exits.
> I see in the source code, at the end of main:
>      try:
>         fg.start()
>     except KeyboardInterrupt:
>         pass
>     fg.stop()
> As I understand it, this code executes fg.start(), which returns 
> almost immediately, and then executes fg.stop(), and then exits from main.
> On my system, the code does not wait in fg.start() for a keyboard interrupt.
> For now, in my working version I've changed the end of main back to:
>     fg.start ()
>     raw_input ('Press Enter to quit: ')
>     fg.stop()
> That works as it should - usrp_siggen keeps running until I type ^C.
> Jon Jacky

Thanks for pointing out the problem.

I'll revisit and fix.


reply via email to

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