Activecat,

In fact my horrible hack doesn't work properly. Once items start arriving at 
Payload TD Tx 2, they still don't arrive as 'consistently' (for want of a 
better word), as those from the Noise Source block, and thus zeros are inserted 
when they are not required!

David

-----Original Message-----
From: David Halls
Sent: 04 June 2014 11:41
To: Activecat; discuss-gnuradio@gnu.org
Cc: Martin Braun
Subject: RE: [Discuss-gnuradio] Scheduling a block even with no input items RE: 
Flow graph blocking when doing 2x1 transmission

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 [active...@gmail.com]
Sent: 04 June 2014 10:51
To: discuss-gnuradio@gnu.org
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 
<david.ha...@toshiba-trel.com<mailto:david.ha...@toshiba-trel.com>> 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
---------------------------------------------------------------------------------------

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

Reply via email to