Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Marcus Müller
Is that a new symptom, or have the UHD Warning:... been there from the beginning? I'd like to ask you to copy&paste (not screenshot) the full console output of running your flowgraph on your machine. Thanks! Marcus On 08/02/2017 08:18 PM, Rui ZOU wrote: > Most of the times, the transmission is

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Rui ZOU
Most of the times, the transmission is stable, but there are 3 times bad things pop up. 'L' is shown for one time after running for some time. The following warning is shown twice. UHD Warning: x300_dac_ctrl: front-end sync failed. unexpected FIFO depth [0x7] thread[thread-per-block[5]: ]: Run

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Marcus Müller
I'd consider that good news, because that definitely means that your PC is up to the task of supplying samples fast enough :) Still, we're getting "L"s. So let's reduce the test case: Same USRP Sink as you use here, but with a Null Source directly feeding it. Is that stable? While we're at it

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Marcus Müller
I'm really confused at this point. In no point in your testing should be Throttle involved. So, please, can you do a test with: Null Source Probe Rate -> Message Debug No UHD USRP Sink No Throttle and tell me a) how fast you were and b) how much CPU you used ? Thanks! Marcus On 08/02/2017 05:1

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Rui ZOU
Throttle block is NEVER in use when USRP Sink is used. On Wed, Aug 2, 2017 at 11:08 AM, Rui ZOU wrote: > USRP sink > > On Wed, Aug 2, 2017 at 11:08 AM, Rui ZOU > wrote: > >> My previous email shows the rate WITHOUT >> >> On Wed, Aug 2, 2017 at 11:05 AM, Marcus Müller wrote: >> >>> WAIT! Thrott

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Rui ZOU
USRP sink On Wed, Aug 2, 2017 at 11:08 AM, Rui ZOU wrote: > My previous email shows the rate WITHOUT > > On Wed, Aug 2, 2017 at 11:05 AM, Marcus Müller wrote: > >> WAIT! Throttle? I didn't see that in either of the flow graphs you sent >> me first (twoparatx, onefile2tx) >> >> Seriously?! Your

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Rui ZOU
My previous email shows the rate WITHOUT On Wed, Aug 2, 2017 at 11:05 AM, Marcus Müller wrote: > WAIT! Throttle? I didn't see that in either of the flow graphs you sent me > first (twoparatx, onefile2tx) > > Seriously?! Your GRC will even print a warning that you mustn't use > Throttle together

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Marcus Müller
WAIT! Throttle? I didn't see that in either of the flow graphs you sent me first (twoparatx, onefile2tx) Seriously?! Your GRC will even print a warning that you mustn't use Throttle together with hardware if you have both Throttle and a USRP sink. Remove the Throttle, and try again. On 08/02/2

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Rui ZOU
Changed to null source, the rate is still around twice the sample rate (390.625k) for throttle block. *** MESSAGE DEBUG PRINT (((rate_now . 781360) (rate_avg . 786529))) When the throttle block is bypassed, the rate jumps up to around 11.3MS/s. *

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Marcus Müller
Ok, there's something fishy here. That rate (without the USRP Sink) is ridiculously low. Can you replace the file_source with a null_source? That way, we can rule out storage as the bottleneck. The probe_rate does nothing but just count how many items fly by, and then send a message at its output

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Rui ZOU
Not sure if the debug setup is the expected since it's the first time I use the 'Probe Rate' and 'Message Debug' blocks whose functions are not very clear to me now just after reading the contents under the document tag. If there are other ways to learn about new blocks, please advise. The rates I

Re: [Discuss-gnuradio] unexpected underruns

2017-08-02 Thread Marcus Müller
Huh, I really don't know what's happening there :/ I sadly don't have the USRP to test this live with me right now, but there's absolutely no timed commands involved¹ So, trying to weed out bugs: * I've replaced the USRP sink with a "Probe Rate" block, connected to a "Message Debug"'s print p

Re: [Discuss-gnuradio] unexpected underruns

2017-08-01 Thread Rui ZOU
Hi Marcus, I have fixed the two parallel SISO by removing packeting encoding, using QT GUI instead of WX. But the 'L' indicator still comes on, even sooner than previous version. The GRC and generated python files are attached. Rui On Tue, Aug 1, 2017 at 12:04 PM, Marcus Müller wrote: > Ah, co

Re: [Discuss-gnuradio] unexpected underruns

2017-08-01 Thread Marcus Müller
Ah, cool, but then I wouldn't start by packetizing data. Simply send your file GMSK-Modulated; drop the packet encoding; think about it: the MIMO coding (usually) happens *after* the data has been formed to logical data units. A few notes on your flowgraphs: Don't use the WX GUI elements in n

Re: [Discuss-gnuradio] unexpected underruns

2017-08-01 Thread Rui ZOU
Hi Marcus, My goal is to first build a 2-by-2 space multiplexing MIMO using two X310s and GNU Radio. As I'm new to all this stuff, I'm starting from building 2 parallel SISOs. If there are some good kick-start materials or any resources, they will be very valuable. Thanks. Rui On Tue, Aug 1, 201

Re: [Discuss-gnuradio] unexpected underruns

2017-08-01 Thread Marcus Müller
Hi Rui, sorry, I might simply have missed those, and didn't find your first email when I saw your recent one! I apologize. So, hm, interestingly, we have a severe bug in the packet_encoder block (its design is pretty bad, and that triggers an unexpected behaviour underneath). That might mean

Re: [Discuss-gnuradio] unexpected underruns (was: Re: no subject)

2017-08-01 Thread Rui ZOU
Here are the two flowgraphs I have used. I have tried to attach the two files in my first email. Probably failed in doing that. If still not seen, please let me know so I will try again. Thanks for your help. Running the first flow graph will cause GRC stop responding instantly, while the second o

[Discuss-gnuradio] unexpected underruns (was: Re: no subject)

2017-08-01 Thread Marcus Müller
Hi Rui, don't know, to me, it looks like replying didn't work out great, since my mail client showed your mail in a new thread. Really, replying to a mailing list mail should be nothing more than hitting the "reply" or "reply all" button. Anyway, even the slowest PC/laptop/Raspberry Pi/… I c