[Discuss-gnuradio] C++ block that generate extra data

2011-09-29 Thread Mattia Rizzi
Hello, i have a block that takes 3 bytes of data in and output 4bytes of data (3:4). It’s possible to generate, sometimes, extra output? I mean, sometimes it take 3 bytes and output 5 bytes. It’s possible? How i tell to the scheduler? Thank you___ Discus

Re: [Discuss-gnuradio] C++ block that generate extra data

2011-09-29 Thread Martin Braun
On Thu, Sep 29, 2011 at 04:14:04PM +0200, Mattia Rizzi wrote: > Hello, > > i have a block that takes 3 bytes of data in and output 4bytes of data (3:4). > > It’s possible to generate, sometimes, extra output? > > I mean, sometimes it take 3 bytes and output 5 bytes. It’s possible? How i > tell

Re: [Discuss-gnuradio] USRP network based spectrum analyzer

2011-09-29 Thread Marcus D. Leech
On 29/09/2011 11:02 AM, Ed Criscuolo wrote: Why not just use VNC? It's generally much lower bandwidth than X forwarding. That hasn't been my experience at all. And it's reasonable to want a "remote sniffer" type of situation that you could reasonably access via the web or similar.

Re: [Discuss-gnuradio] USRP network based spectrum analyzer

2011-09-29 Thread Ed Criscuolo
On 9/28/11 4:54 PM, Marcus D. Leech wrote: On 28/09/2011 4:50 PM, Phelps Williams wrote: I have a usrp and computer in a remote location without much network bandwidth available to the system and I'm using it as a spectrum analyzer. I'd like to run the fft on the remote system and then send the

Re: [Discuss-gnuradio] C++ block that generate extra data

2011-09-29 Thread Mattia Rizzi
Thank you for the reply. How can i reallocate the output buffer if is too small? Let's assume that my block has an input itemsize of 3 byte and an output itemsize of 4 byte. Forecast with 1:1. If the scheduler keeps to give to my block only 4 bytes for output, how can i force to give me more? T

Re: [Discuss-gnuradio] C++ block that generate extra data

2011-09-29 Thread Patrik Tast
I think you should tell it in the constructor. like this: #define NR_OF_WORDS_ADDITIONALLY_NEEDED 4 my_usrp_rx_tx::my_usrp_rx_tx(void) : gr_block("my_usrp_rx_tx", gr_make_io_signature(1, 1, sizeof(short)), gr_make_io_signature(1, 1, sizeof(short))) { set_output_multiple(NR_O

Re: [Discuss-gnuradio] different CPU loads with 2 similar GRC graphs

2011-09-29 Thread Pascal Charest
On Thu, Sep 22, 2011 at 1:41 AM, Achilleas Anastasopoulos wrote: > I am comparing the following 2 systems on GRC: > > [source] --> [block A] --> [sink] > > and > > [source] --> [block A] -->[sink] >     |___^ > > where [block A] is a very CPU-intensive SP block, source and sink are