Re: [Discuss-gnuradio] Question about output/input buffers

2016-03-15 Thread Jan Krämer
Hi, what you are trying to do will not work in GNURadio without heavy modification of the scheduler. The in/out buffers of the blocks are allocated by the scheduler as double-mapped FIFO buffers. Whenever your (general_)work() has produced some samples, it will inform the scheduler about the exact

Re: [Discuss-gnuradio] Question about output/input buffers

2016-03-14 Thread Gonzalo Arcos
Anyone? Is there a way to keep the buffer array for subsequent executions of work() ? Also, ive searched everywhere for the meaning of the return value of the work function. The documentation explains the function and its parameters, but not what the return value is for. 2016-03-13 16:11 GMT-03:0

Re: [Discuss-gnuradio] Question about output/input buffers

2016-03-13 Thread Gonzalo Arcos
So basically i tried assigning the sync words only in the first call to work() and the result was that only the first packet was transmitted successfully, so either gnuradio scheduler is erasing all the output buffer before the call to the work function, or the output buffer is a new allocation and

[Discuss-gnuradio] Question about output/input buffers

2016-03-13 Thread Gonzalo Arcos
Do output buffers of a block are always allocated in the same address throughout the same execution of the flowgraph? I need to know this because it would allow me to do some optimization. For example: Suppose i have the OFDM Carrier Allocator Block connected to the IFFT block. On every executi