discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Padding burtsy blocks


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Padding burtsy blocks
Date: Tue, 25 Aug 2015 08:24:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Hi Devin,

the "padding with zeros unless samples occur within a specific time" job can be done with gr-eventstream [1] [2] , but:

If you're going to use USRP sink anyway, what about using tagged stream blocks[3]?
You could replace your "Pull Source" with a "Pull Message Source" -> "PDU to tagged stream"->signal processing->"USRP Sink" (with "packet length tag name" set accordingly)

Best regards,
Marcus

[1] https://github.com/osh/gr-eventstream
[2] http://oshearesearch.com/tag/gr-eventstream/
[3] https://gnuradio.org/doc/doxygen/page_tagged_stream_blocks.html
On 25.08.2015 04:00, devin kelly wrote:
I have a flowgraph that I'm trying to develop in simulation first before deploying to some sort of hardware like a USRP.  The flowgraph begins with a ZMQ Pull Source and then I have all my signal processing blocks afterwards (eventually there would be a UHD Sink).  The ZMQ block only produces samples when it receives a message so when it doesn't receive samples the flowgraph doesn't run.  

If the work function for any block is only called when there are samples in the input buffer I don't see how adding any blocks after my ZMQ Pull Source could help.  So that leaves making my own ZMQ Pull Source that emits zeros when it has no other message.  Do I have any other options?  If I add a this feature would be useful to merge back into GR or is this not really an intended use case for GR?

Thanks,
Devin


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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