discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] uhd running parallel tx/rx flowgraphs


From: Josh Blum
Subject: Re: [Discuss-gnuradio] uhd running parallel tx/rx flowgraphs
Date: Mon, 27 Feb 2012 18:12:06 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0


On 02/27/2012 05:30 PM, George Nychis wrote:
> It's be good if you can chime in here, Josh :)
> 
> It seems like this is something that should be fixed about tunnel.py in
> future GNU Radio releases for use with UHD.
> 

Like removing it altogether :-)

> That is clearly documented as control of samples to the host to be
> continuous or not.
> 

Basically, RX is intended to work on a continuous streaming model, which
is why stream command inst swigged up. The start()/stop() methods are
actually the ones issuing the command.

When and if the pmt based message passing gets merged, i was going to
implement control messages to deal with streaming, possibly other
things. This lets you tie the uhd source block into a control plane.

As is stands now, i guess someone could just forward the stream command
stuff, so long as the work() function knew to block when there is
definitely not supposed to be samples. That way you avoid the scheduler
marking the block done on a timeout.

> However, I don't see that same control for the TX stream. Tx_metadata_t and
> t_streamer control the bursts, but don't seem to control the overall
> stream? Maybe I am missing something.
> 

You can use stream tags to control start/stop of burst and transmit
times. See the usrp sink header or the tags demo in gr-uhd.

Now that being said, the framer blocks in tunnel.py could be more
intelligent and properly shutoff streaming (aka end a burst) when there
is no data. That way you avoid underflow when there isnt a continuous
supply of data to modulate.

-Josh



reply via email to

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