discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] How to implement a block derived from gr_block


From: George Barrinuevo
Subject: [Discuss-gnuradio] How to implement a block derived from gr_block
Date: Tue, 10 Apr 2007 00:17:25 -0700 (PDT)

I created a block from gr_sync_block and later found
that it does not work properly since gr_sync_*
requires that the input and output rate are
synchronous, e.g. having 1:1, 1:N, N:1 fixed ratio. 
However, my block has varying input and output rates
which implies I need to derive it from gr_block.  My
question is, what is the procedure to convert a block
from gr_sync_block to gr_block?  I tried making the
changes, but got errors and 'make' time.  The main
different I see is: 1) use gr_block instead of
gr_sync_block, 2) use general_work() instead of
work().

Am I missing anything?

Thanks,


George Barrinuevo
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]