usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

building blocks for gnuradio companion

JD
Juan Daniel Fernandez Martinez
Thu, Oct 11, 2012 11:12 PM

Hi everyone,
I have been reading about how to write a block (http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html) but is not clear how to start, I mean, I understand that is necessary to create 3 files, .h, .cc and .i. and that some files are auto generated from other files (e.g. .am)
I found an example in ftp://ftp.gnu.org/gnu/gnuradio/, but the latest version is 3.3.0, and again, there are  tons of files that I don’t know where they come from.
So, I really would appreciate if anyone knows a really explicit tutorial, and a newer example

Thanks a lot

Juan Daniel Fernandez


Este documento puede contener información privilegiada o confidencial. Por tanto, usar esta información y sus anexos para propósitos ajenos a los de la Universidad Icesi, divulgarla a personas a las cuales no se encuentre destinado este correo o reproducirla total o parcialmente, se encuentra prohibido en virtud de la legislación vigente. La universidad no asumirá responsabilidad sobre información, opiniones o criterios contenidos en este correo que no estén directamente relacionados con la Icesi. Si usted no es el destinatario autorizado o por error recibe este mensaje, por favor informe al remitente y posteriormente bórrelo de su sistema sin conservar copia del mismo.

Hi everyone, I have been reading about how to write a block (http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html) but is not clear how to start, I mean, I understand that is necessary to create 3 files, .h, .cc and .i. and that some files are auto generated from other files (e.g. .am) I found an example in ftp://ftp.gnu.org/gnu/gnuradio/, but the latest version is 3.3.0, and again, there are tons of files that I don’t know where they come from. So, I really would appreciate if anyone knows a really explicit tutorial, and a newer example Thanks a lot Juan Daniel Fernandez ________________________________ Este documento puede contener información privilegiada o confidencial. Por tanto, usar esta información y sus anexos para propósitos ajenos a los de la Universidad Icesi, divulgarla a personas a las cuales no se encuentre destinado este correo o reproducirla total o parcialmente, se encuentra prohibido en virtud de la legislación vigente. La universidad no asumirá responsabilidad sobre información, opiniones o criterios contenidos en este correo que no estén directamente relacionados con la Icesi. Si usted no es el destinatario autorizado o por error recibe este mensaje, por favor informe al remitente y posteriormente bórrelo de su sistema sin conservar copia del mismo.
JB
Josh Blum
Thu, Oct 11, 2012 11:17 PM

On 10/11/2012 04:12 PM, Juan Daniel Fernandez Martinez wrote:

Hi everyone, I have been reading about how to write a block
(http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html)
but is not clear how to start, I mean, I understand that is necessary
to create 3 files, .h, .cc and .i. and that some files are auto
generated from other files (e.g. .am) I found an example in
ftp://ftp.gnu.org/gnu/gnuradio/, but the latest version is 3.3.0, and
again, there are  tons of files that I don’t know where they come
from. So, I really would appreciate if anyone knows a really explicit
tutorial, and a newer example

Those gnu.org docs are really ancient. Should be removed, see thread:
http://www.ruby-forum.com/topic/4406545

Its best to start by copying the complete example project:
http://gnuradio.org/cgit/gnuradio.git/tree/gr-howto-write-a-block

I have also heard gr-modtool is really great for autogenerating the
project and adding new files to this project:
https://www.cgran.org/wiki/devtools
https://github.com/mbant/gr-modtool

-josh

Thanks a lot

Juan Daniel Fernandez


Este documento puede contener información privilegiada o
confidencial. Por tanto, usar esta información y sus anexos para
propósitos ajenos a los de la Universidad Icesi, divulgarla a
personas a las cuales no se encuentre destinado este correo o
reproducirla total o parcialmente, se encuentra prohibido en virtud
de la legislación vigente. La universidad no asumirá responsabilidad
sobre información, opiniones o criterios contenidos en este correo
que no estén directamente relacionados con la Icesi. Si usted no es
el destinatario autorizado o por error recibe este mensaje, por favor
informe al remitente y posteriormente bórrelo de su sistema sin
conservar copia del mismo.

_______________________________________________ USRP-users mailing
list USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

On 10/11/2012 04:12 PM, Juan Daniel Fernandez Martinez wrote: > Hi everyone, I have been reading about how to write a block > (http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html) > but is not clear how to start, I mean, I understand that is necessary > to create 3 files, .h, .cc and .i. and that some files are auto > generated from other files (e.g. .am) I found an example in > ftp://ftp.gnu.org/gnu/gnuradio/, but the latest version is 3.3.0, and > again, there are tons of files that I don’t know where they come > from. So, I really would appreciate if anyone knows a really explicit > tutorial, and a newer example Those gnu.org docs are really ancient. Should be removed, see thread: http://www.ruby-forum.com/topic/4406545 Its best to start by copying the complete example project: http://gnuradio.org/cgit/gnuradio.git/tree/gr-howto-write-a-block I have also heard gr-modtool is really great for autogenerating the project and adding new files to this project: https://www.cgran.org/wiki/devtools https://github.com/mbant/gr-modtool -josh > > Thanks a lot > > Juan Daniel Fernandez > > > ________________________________ > > Este documento puede contener información privilegiada o > confidencial. Por tanto, usar esta información y sus anexos para > propósitos ajenos a los de la Universidad Icesi, divulgarla a > personas a las cuales no se encuentre destinado este correo o > reproducirla total o parcialmente, se encuentra prohibido en virtud > de la legislación vigente. La universidad no asumirá responsabilidad > sobre información, opiniones o criterios contenidos en este correo > que no estén directamente relacionados con la Icesi. Si usted no es > el destinatario autorizado o por error recibe este mensaje, por favor > informe al remitente y posteriormente bórrelo de su sistema sin > conservar copia del mismo. > > > > _______________________________________________ USRP-users mailing > list USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >