Re: [Discuss-gnuradio] Get a pointer to UHD Sink from other block in flow graph

2014-10-16 Thread Koslowski, Sebastian (CEL)
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

Re: [Discuss-gnuradio] Get a pointer to UHD Sink from other block in flow graph

2014-10-16 Thread Tom Rondeau
On Thu, Oct 16, 2014 at 8:54 AM, Marcus Müller mar...@hostalia.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ... and in C++ you can just use the sptr that you normally use when using the uhd sink. But: since Martin added the message ports to the UHD blocks, things have gotten

Re: [Discuss-gnuradio] Get a pointer to UHD Sink from other block in flow graph

2014-10-16 Thread David Halls
Thanks Sebastian, 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