discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] My app waits undefinedly after an O printf


From: Pol Henarejos
Subject: [Discuss-gnuradio] My app waits undefinedly after an O printf
Date: Tue, 29 May 2012 16:29:37 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

Dear list,

I am using gr_uhd_source as the source of my app. At some moment, there
is an overflow, an O is printf'ed and the scheduler stops. The program
is still running but there is no flow of samples between blocks. They
are waiting for something. I added the following lines in the work() of
gr_uhd_source

printf("no = %d\n", noutput_items);
if (_metadata.error_code != uhd::rx_metadata_t::ERROR_CODE_NONE)
        printf("Error %d\n",_metadata.error_code);

and the output, after some time, is

no = 4094
no = 4096
no = 4094
[...]
no = 4096
no = 4094
no = 4096
no = 4096
Ono = 4094
no = 2133
Error 8
no = 2133
Error 1

and here waits for some thing and no more printf take place. Be aware
that this happens when the O appears.

Anybody is expecting the same? Could you provide me some hint?

Thanks.

-- 

Pol Henarejos
Research Engineer, MSc
address@hidden

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Engineering Unit
Parc Mediterrani de la Tecnologia
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona (Spain)
Tel: +34 93 396 71 70  Ext: 2177
Fax. +34 93 645 29 01
www.cttc.es

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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