|
From: | Stephen |
Subject: | Re: [Discuss-gnuradio] question about using qtgui_sink_c from c++ |
Date: | Sat, 19 May 2012 19:11:15 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 |
On 5/19/2012 3:00 PM, Tom Rondeau wrote: > Have you read up on Qt and how to handle the QApplication? They might > have some hints for you on how to handle your situation. > If I create the block in the same thread I call exec() then it works. I was creating the block in my main thread and then spawning a boost thread to exec() the block. That didn't work. I also have a problem that about 25% of the time my app aborts when I try to use the qtgui sink. Some times it runs just fine. Others it aborts. when it aborts I can start it again right away and it works. when I take the qt sink out it never aborts. I also see a performance difference when using grc. If I create a simple flowgraph with just a usrp sink and a gui fft window I can use higher sampling rates with the wxwidget version before I hit overruns. stephen
[Prev in Thread] | Current Thread | [Next in Thread] |