Re: [Discuss-gnuradio] Global socket in the flowgraph

2017-11-17 Thread Dan CaJacob
This kinda looks like a good application for ZMQ, btw. On Fri, Nov 17, 2017 at 8:12 AM Carlos Alberto Ruiz Naranjo < carlosruiznara...@gmail.com> wrote: > Perfect!! Thank you :) > > 2017-11-17 12:42 GMT+01:00 Marcus Müller : > >> You'd pass that object – all the objects that you create in Python

Re: [Discuss-gnuradio] Global socket in the flowgraph

2017-11-17 Thread Carlos Alberto Ruiz Naranjo
Perfect!! Thank you :) 2017-11-17 12:42 GMT+01:00 Marcus Müller : > You'd pass that object – all the objects that you create in Python have > a name that you can pass around. > > Notice that you usually very much would want to avoid this. The blocks > run in different threads, so you need take ca

Re: [Discuss-gnuradio] Global socket in the flowgraph

2017-11-17 Thread Marcus Müller
You'd pass that object – all the objects that you create in Python have a name that you can pass around. Notice that you usually very much would want to avoid this. The blocks run in different threads, so you need take care that accesses to your shared object are thread save, e.g. by having intern

Re: [Discuss-gnuradio] Global socket in the flowgraph

2017-11-16 Thread Marcus Müller
Hi Carlos, I don't know the blocks, hence I can't tell you anything about them. Best regards, Marcus On 16.11.2017 19:32, Carlos Alberto Ruiz Naranjo wrote: > Thank you Marcus. > > Where do I create the socket and how I pass it to the blocks? > > On Nov 16, 2017 19:07, "Marcus Müller"

Re: [Discuss-gnuradio] Global socket in the flowgraph

2017-11-16 Thread Carlos Alberto Ruiz Naranjo
Thank you Marcus. Where do I create the socket and how I pass it to the blocks? On Nov 16, 2017 19:07, "Marcus Müller" wrote: > Sure, unless the dataCapture blocks (which I don't know) have a bug. > > Best regards, > Marcus > On Thu, 2017-11-16 at 15:26 +0100, Carlos Alberto Ruiz Naranjo wrote:

Re: [Discuss-gnuradio] Global socket in the flowgraph

2017-11-16 Thread Marcus Müller
Sure, unless the dataCapture blocks (which I don't know) have a bug. Best regards, Marcus On Thu, 2017-11-16 at 15:26 +0100, Carlos Alberto Ruiz Naranjo wrote: > Hello, > > dataCapture blocks are TCP clients with different requests. I want use the > same socket for the 3 blocks. It is posible? >

[Discuss-gnuradio] Global socket in the flowgraph

2017-11-16 Thread Carlos Alberto Ruiz Naranjo
Hello, dataCapture blocks are TCP clients with different requests. I want use the same socket for the 3 blocks. It is posible? Thank you. [image: Imágenes integradas 1] ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/m