discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Scheduling a block even with no input items RE: F


From: David Halls
Subject: Re: [Discuss-gnuradio] Scheduling a block even with no input items RE: Flow graph blocking when doing 2x1 transmission
Date: Wed, 4 Jun 2014 10:41:28 +0000

Hi,

Thank you for those links. Unfortunately the rates for the two ports are not an exact ratio, so I am not sure how this will work. Also I have

ninput_items_required[0] = noutput_items;
ninput_items_required[1] = 0;

I am not quite sure how to change this... Maybe it will help to show more clearly what I am doing.

Attached is a flow graph that shows how I have managed to achieve what I want - but clearly it is a real fudge.

I am doing a 2x1 transmission, so in time-domain (TD), I have [ Header 1 (240 samples), Header 2 (240 samples), superimposed Payload Tx1 + Tx2 (1280 samples) ] then this repeats.

Header TD Tx1, Header TD Tx2 and Payload TD Tx1 always have items available, *but* Payload TD Tx2 has no items at time=0.

I would like the header data (both Tx1 and Tx2 to always be transmitted, so that even when Payload TD Tx2 is not available, the protocol/frame structure does not break down.

Regards,

David
________________________________________
From: Activecat address@hidden
Sent: 04 June 2014 10:51
To: address@hidden
Cc: David Halls
Subject: Re: [Discuss-gnuradio] Scheduling a block even with no input items RE: Flow graph blocking when doing 2x1 transmission

On Wed, Jun 4, 2014 at 4:59 PM, David Halls <address@hidden<mailto:address@hidden>> wrote:
Hi!

This shouldn't be the case. But is there any easy way to allow different rates on the two streams, so I could produce more zeros on stream 1 than items on stream 0? Or vice versa?

David


Please stay on the list.

To have different rates on different inputs,
[1] http://lists.gnu.org/archive/html/discuss-gnuradio/2014-05/msg00166.html
[2] http://gnuradio.4.n7.nabble.com/set-relative-rate-td46167.html

________________________________

NOTE: The information in this email and any attachments may be confidential and/or legally privileged. This message may be read, copied and used only by the intended recipient. If you are not the intended recipient, please destroy this message, delete any copies held on your system and notify the sender immediately.

Toshiba Research Europe Limited, registered in England and Wales (2519556). Registered Office 208 Cambridge Science Park, Milton Road, Cambridge CB4 0GZ, England. Web: www.toshiba.eu/research/trl



This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com

Attachment: active_cat.grc
Description: active_cat.grc


reply via email to

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