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 obje

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

2014-10-16 Thread Marcus Müller
-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 easier; you can just add an output message port to your block and connect it to the

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 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 easier; you c

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

2014-10-16 Thread David Halls
(CEL) [mailto:sebastian.koslow...@kit.edu] Sent: 16 October 2014 12:12 To: David Halls; discuss-gnuradio@gnu.org 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 s