Re: Passing real data from a thread to the next block

2020-11-18 Thread isaac mario tupac davila
Hi Martin and Nick Thanks for your answers. I overwrite the start method proposed for Martin and works in a suitable and simple way. Thank you so much. Regards Isaac. El mié., 18 nov. 2020 a las 1:27, Martin Lülf () escribió: > Dear Isaac, > > you can overwrite the start method of gr::block > >

Re: Passing real data from a thread to the next block

2020-11-17 Thread Martin Lülf
Dear Isaac, you can overwrite the start method of gr::block https://www.gnuradio.org/doc/doxygen/classgr_1_1block.html#a7f58745d1374b30a7b866406dc97850f This function will be called once the processing starts. Yours Martin On 2020-11-18 02:35, isaac mario tupac davila wrote: Hi Marcus Tha

Re: Passing real data from a thread to the next block

2020-11-17 Thread Nick Foster
This is probably best done from the top-level flowgraph. Have the flowgraph call a member function of your OOT block which sends the commands, before calling start() or run() on the flowgraph. Nick On Tue, Nov 17, 2020 at 5:36 PM isaac mario tupac davila < isacct...@gmail.com> wrote: > Hi Marcus

Re: Passing real data from a thread to the next block

2020-11-17 Thread isaac mario tupac davila
Hi Marcus Thanks for your answer. I am restructuring the design of my OOT block. I'd like to ask a last question about it...I am trying to send some commands (array of bytes) to an external hardware only ONCE before starting with my real time data acquisition . The problem is that if I implement

Re: Passing real data from a thread to the next block

2020-11-15 Thread Marcus Müller
Hello, On 15.11.20 06:26, isaac mario tupac davila wrote: > Hello > > I'm Isaac. Hi Isaac, nice having you. > I have a question about threads. I've created three > threads and I want to pass real data from one thread to the next block > directly without returning to the general work method.

Passing real data from a thread to the next block

2020-11-14 Thread isaac mario tupac davila
Hello I'm Isaac. I have a question about threads. I've created three threads and I want to pass real data from one thread to the next block directly without returning to the general work method. I could give value to the out array in the thread but for some reason the data doesn't pass to the