Re: [Discuss-gnuradio] Get a pointer to UHD Sink from other block in flo
Re: [Discuss-gnuradio] Get a pointer to UHD Sink from other block in flow graph
Thu, 16 Oct 2014 14:19:30 +0000
My solution in the end was to use a UHD source, which generates rx_time, I then created a block which reads in this rx_time tag and sends it as a message to a block just before my UHD sink which converts this to a tx_time based on the number of bursts sent, and the burst interval that I desire.
Note that if you are transmitting MIMO, i.e. multiple USRPs in one UHD sink, you also have to use multiple USRPs in the UHD source to produce the rx_time (although they multiple rx_times will be equal).
From: Koslowski, Sebastian (CEL) [mailto:address@hidden
Sent: 16 October 2014 12:12
To: David Halls; address@hidden
Subject: Re: [Discuss-gnuradio] Get a pointer to UHD Sink from other block in flow graph
On 10/16/2014 12:41 PM, David Halls wrote:
> Is there any way to get a pointer to a UHD sink block from another
> block in a flow graph, such that I can read from the time registers of
> a USRP?
Depends how you're building your flow-graph: In Python, simply pass a reference to your UHD block object to your block.
In GRC, there is no way to reference another block id in a block's params. Try this patch, if you want that . Else, you could assume a fixed uhd sink block id and add that to your blocks XML's make template.
KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association
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