On Tue, Nov 01, 2011 at 12:20:01PM -0400, Chris Lirakis wrote:
> Thanks to everyone who responded to my post yesterday. I've been slowly
> slogging my way through the code. Yes, it is a lot less connected than I
> originally thought. I needed to extract some helper functions from gnuradio/gr
> 
> So now I am making some custom blocks. How can I get the block ID to show up 
> in
> the graphical representation?

Are you using the howto-make-a-block as a template? If so, have a look
at the files in the grc/ subdirectory. You need to adapt these as well.

If you're using the old Makefile system, I would also like to spotlight
gr_modtool.py [1]. It's a tool which automatically writes template files
for .cc, .h and .py as well as the GRC bindings and edits the Makefiles
accordingly. You then only need to edit your stuff.

MB

[1] https://cgran.org/wiki/devtools


-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpmB7glMIiW9.pgp
Description: PGP signature

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to