[USRP-users] GRC Radio Block Receives no Data

Zhihong Luo zhluo at umich.edu
Sun Mar 20 15:55:15 EDT 2016


Jonathon,

No, it will also run into errors at 5M. And I tried adding a FIFO between
radio and file sink, it didn't help.

I ended up using rx-sample-to-file.cpp for receiving data, and it works
with no errors. So the X300 is ok, and the problem I had should be on GRC.

I knew GRC has some rules for connecting RFNoC blocks and gnuradio blocks.
Does directly connecting a Radio with a file sink or scope sink violate any
of those?

Thanks,
Zhihong

2016年3月20日星期日,Jonathon Pendlum <jonathon.pendlum at ettus.com> 写道:

> Hi Zhihong,
>
> Are you saying you can run at 5M without overflows? Also, try adding a
> FIFO block and see if that helps.
>
>
>
> Jonathon
>
> On Fri, Mar 18, 2016 at 3:31 PM, Zhihong Luo via USRP-users <
> usrp-users at lists.ettus.com
> <javascript:_e(%7B%7D,'cvml','usrp-users at lists.ettus.com');>> wrote:
>
>> Hi all,
>>
>> We found that it will run into overrun error after the first try: (The
>> first try after power cycle will not have overrun, but the received signal
>> is not right (file sink)).
>>
>> Doverrun on chan 0
>> Doverrun on chan 0
>> -- radio_ctrl::handle_overrun()
>> Ooverrun on chan 0
>>
>> The sample rate is still very slow (5M). Besides, it worked if we used
>> Radio on Tx.
>>
>> I just get into RFNoC, and I never encountered this problem using the
>> usrp-source. I am really confused about this, thanks in advance for any
>> help.
>>
>> Thanks,
>> Zhihong
>>
>> On Fri, Mar 18, 2016 at 5:17 PM, Zhihong Luo <zhluo at umich.edu
>> <javascript:_e(%7B%7D,'cvml','zhluo at umich.edu');>> wrote:
>>
>>> Hi all,
>>>
>>> I am new to RFNoC and I tried to run a simple GRC using a RFNoC Radio
>>> and scope sink. But there seems to be no outputs.
>>>
>>> I assume Radio works exactly as USRP Source, so I am really confused.
>>> The GRC' output is attached (didn't output errors). What am I missing?
>>>
>>> Using Volk machine: sse4_2_64_orc
>>> -- [0/Radio_0] _resolve_port_def()
>>> -- [0/Radio_0]   item type: sc16
>>> -- [0/Radio_0]   vector length: 0
>>> -- [0/Radio_0]   packet size: 0
>>> -- [0/Radio_0] _resolve_port_def()
>>> -- [0/Radio_0]   item type: sc16
>>> -- [0/Radio_0]   vector length: 0
>>> -- [0/Radio_0]   packet size: 0
>>> DEBUG: output item size: 8
>>>
>>> DEBUG: check_topology()
>>> DEBUG: RFNoC blocks with streaming ports: 1
>>> DEBUG: start(): ninputs == 0 noutputs == 1
>>> DEBUG: creating rx streamer with: block_id=0/Radio_0
>>> -- [0/Radio_0] _resolve_port_def()
>>> -- [0/Radio_0]   item type: sc16
>>> -- [0/Radio_0]   vector length: 0
>>> -- [0/Radio_0]   packet size: 0
>>> -- [RX Streamer] creating rx stream recv_buff_size=33554432
>>> -- [RX Streamer] data_sid = 00:08>02:30 actual recv_buff_size = 33554432
>>> -- [0/Radio_0] radio_ctrl::set_destination()
>>> --   Setting sid to 2.48>0.8
>>> -- [RX Streamer] spp == 364
>>> -- [RX Streamer] Flow Control Window = 20515, Flow Control Handler
>>> Window = 641
>>> -- [0/Radio_0] radio_ctrl::configure_flow_control_out()20515
>>> -- [RX Terminator 0] rx_stream_terminator::set_rx_streamer() 1
>>> -- [0/Radio_0] radio_ctrl::set_rx_streamer() 1
>>> -- [Device3] updating RX streamer to RX Terminator 0
>>> --   New tick_rate == 2e+08  New samp_rate == 8e+06 New scaling ==
>>> 3.05187e-05
>>> -- [0/Radio_0] radio_ctrl::issue_stream_cmd()
>>> -- [0/Radio_0] radio_ctrl::issue_stream_cmd()
>>> -- [RX Terminator 0] rx_stream_terminator::~rx_stream_terminator()
>>> -- [RX Terminator 0] rx_stream_terminator::set_rx_streamer() 0
>>> -- [0/Radio_0] radio_ctrl::set_rx_streamer() 0
>>>
>>>
>>> Thanks,
>>> Zhihong
>>>
>>
>>
>> _______________________________________________
>> USRP-users mailing list
>> USRP-users at lists.ettus.com
>> <javascript:_e(%7B%7D,'cvml','USRP-users at lists.ettus.com');>
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160320/c918bc7d/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2016-03-18 16:55:14.png
Type: image/png
Size: 28720 bytes
Desc: not available
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160320/c918bc7d/attachment.png>


More information about the USRP-users mailing list