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: Tag propagation policy in python

2020-11-17 Thread Cameron Matson
Great! thank you. Cameron On Tue, Nov 17, 2020 at 12:25 PM Jeff Long wrote: > from gnuradio import gr > print(gr.TPP_CUSTOM) > > On Tue, Nov 17, 2020 at 11:06 AM Cameron Matson > wrote: > >> Hello all, >> >> I'm trying to use an embedded python block and would like to change the >> tag propaga

Re: Tag propagation policy in python

2020-11-17 Thread Jeff Long
from gnuradio import gr print(gr.TPP_CUSTOM) On Tue, Nov 17, 2020 at 11:06 AM Cameron Matson wrote: > Hello all, > > I'm trying to use an embedded python block and would like to change the > tag propagation policy to TPP_DONT, but I can't seem to correctly qualify > that enum type. How can I re

Tag propagation policy in python

2020-11-17 Thread Cameron Matson
Hello all, I'm trying to use an embedded python block and would like to change the tag propagation policy to TPP_DONT, but I can't seem to correctly qualify that enum type. How can I refer to this value? Thanks, Cameron

Re: SWIG doesn't recognize argument in make()

2020-11-17 Thread Stéphane Ancelot
Hi guys, Using swig using cmake is like using a blackbox and unfortunately is not consistent between cmake versions. This is better to hardcode your own swig sequence in CMake I have not any time to spend in the code at the moment, but I may give you some tips to avoid to use cmake swig integrati