Whenever I try to make my own block with variable type inputs/outputs, i am not able to do so. I added the template files like my_amplifer_xx.c.t and my_amplifier_xx.h.t to lib and include folders respectively and add their names to swig folder CMakefiles and tried a lot of stuff to make the custom block but was not able to do so. Does anybody know exactly how it's different from making custom blocks with variable inputs/outputs. I really appreciate everybody's help. Ahmed.
on 2012-11-09 01:25
on 2012-11-09 02:30
On Thu, Nov 8, 2012 at 7:25 PM, Ahmed Zaheer <ghumman1988@yahoo.com>
wrote:
> Ahmed.
Did you add the right lines in the CMakeLists.txt file in the lib and
include directories, too?
Tom
on 2012-11-09 17:11
Dear Tom,
I added the lines in CMakeLists.txt file in the lib and include
directories. But I am having the following error when I try to do "make"
in build directory.
/home/ghumman/gnuradio/gr-ghumman/include/ghumman_addVar_xx.h.t :27:
Error: Illegal token '@'.
/home/ghumman/gnuradio/gr-ghumman/include/ghumman_addVar_xx.h.t :27:
Syntax error in input(1).
But as you know this '@' is the part of template and comes in the code
as #include <@Name@>.
Please help me in this matter. Also I am well familiar with making
custom blocks having a single type of inputs/outputs.
Regards.
Ahmed.
________________________________
From: Tom Rondeau <tom@trondeau.com>
To: Ahmed Zaheer <ghumman1988@yahoo.com>
Cc: "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
Sent: Thursday, November 8, 2012 5:27 PM
Subject: Re: [Discuss-gnuradio] custom block with variable type
inputs/outputs.
On Thu, Nov 8, 2012 at 7:25 PM, Ahmed Zaheer <ghumman1988@yahoo.com>
wrote:
> Ahmed.
Did you add the right lines in the CMakeLists.txt file in the lib and
include directories, too?
Tom
on 2012-11-13 15:21
I really need some help in making custom blocks with input/outputs of
variable data types.
Has anybody done this before? Any Tutorial/Link?
Regards.
Ahmed.
________________________________
From: Ahmed Zaheer <ghumman1988@yahoo.com>
To: Tom Rondeau <tom@trondeau.com>
Cc: "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
Sent: Friday, November 9, 2012 8:10 AM
Subject: Re: [Discuss-gnuradio] custom block with variable type
inputs/outputs.
Dear Tom,
I added the lines in CMakeLists.txt file in the lib and include
directories. But I am having the following error when I try to do "make"
in build directory.
/home/ghumman/gnuradio/gr-ghumman/include/ghumman_addVar_xx.h.t :27:
Error: Illegal token '@'.
/home/ghumman/gnuradio/gr-ghumman/include/ghumman_addVar_xx.h.t :27:
Syntax error in input(1).
But as you know this '@' is the part of template and comes in the code
as #include <@Name@>.
Please help me in this matter. Also I am well familiar with making
custom blocks having a single type of inputs/outputs.
Regards.
Ahmed.
________________________________
From: Tom Rondeau <tom@trondeau.com>
To: Ahmed Zaheer <ghumman1988@yahoo.com>
Cc: "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
Sent: Thursday, November 8, 2012 5:27 PM
Subject: Re: [Discuss-gnuradio] custom block with variable type
inputs/outputs.
On Thu, Nov 8, 2012 at 7:25 PM, Ahmed Zaheer <ghumman1988@yahoo.com>
wrote:
> Ahmed.
Did you add the right lines in the CMakeLists.txt file in the lib and
include directories, too?
Tom
on 2012-11-13 16:18
When you go to the GNU Radio website, then navigate to the tutorials section, there's a tutorial "How to design a signal processing block with variable types of inputs or outputs". It's a bit outdated, but really not hard to find. http://gnuradio.org/redmine/projects/gnuradio/wiki... MB On Tue, Nov 13, 2012 at 06:20:45AM -0800, Ahmed Zaheer wrote: > > > > Ahmed. > On Thu, Nov 8, 2012 at 7:25 PM, Ahmed Zaheer <ghumman1988@yahoo.com> wrote: > > Ahmed. > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- 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
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.