[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] cannot make new signal processing block
From: |
nexy_sm |
Subject: |
Re: [Discuss-gnuradio] cannot make new signal processing block |
Date: |
Wed, 17 Oct 2012 08:13:11 -0700 (PDT) |
Ok, I suppose the best and fastest way to learn gnuradio is by exploring
simple existing blocks, like adder for example.
I was first thinking about adder and the opened gr_add_cc.h.
I was immediately stuck in the constructor part
gr_add_cc::gr_add_cc (size_t vlen)
: gr_sync_block ("add_cc",
gr_make_io_signature (1, -1, sizeof (gr_complex)*vlen),
gr_make_io_signature (1, 1, sizeof (gr_complex)*vlen)),
d_vlen (vlen)
{
}
I was expecting something like:
gr_add_cc::gr_add_cc (size_t vlen)
: gr_sync_block ("add_cc",
gr_make_io_signature (1, vlen, sizeof (gr_complex)),
gr_make_io_signature (1, 1, sizeof (gr_complex))),
d_vlen (vlen)
{
}
I don't really understand this line:
gr_make_io_signature (1, -1, sizeof (gr_complex)*vlen)
Can you just explain breafly what is idea behind, cause i was expecting
something more simpler.
Thanks
--
View this message in context:
http://gnuradio.4.n7.nabble.com/cannot-make-new-signal-processing-block-tp37924p38033.html
Sent from the GnuRadio mailing list archive at Nabble.com.
- Re: [Discuss-gnuradio] cannot make new signal processing block, (continued)
- Re: [Discuss-gnuradio] cannot make new signal processing block, nexy_sm, 2012/10/12
- Re: [Discuss-gnuradio] cannot make new signal processing block, nexy_sm, 2012/10/15
- Re: [Discuss-gnuradio] cannot make new signal processing block, Tom Rondeau, 2012/10/15
- Re: [Discuss-gnuradio] cannot make new signal processing block, nexy_sm, 2012/10/15
- Re: [Discuss-gnuradio] cannot make new signal processing block, Tom Rondeau, 2012/10/15
- Re: [Discuss-gnuradio] cannot make new signal processing block, nexy_sm, 2012/10/16
- Re: [Discuss-gnuradio] cannot make new signal processing block, Martin Braun (CEL), 2012/10/16
- Re: [Discuss-gnuradio] cannot make new signal processing block, nexy_sm, 2012/10/16
- Re: [Discuss-gnuradio] cannot make new signal processing block, Martin Braun (CEL), 2012/10/16
- Re: [Discuss-gnuradio] cannot make new signal processing block, Tom Rondeau, 2012/10/16
- Re: [Discuss-gnuradio] cannot make new signal processing block,
nexy_sm <=
- Re: [Discuss-gnuradio] cannot make new signal processing block, nexy_sm, 2012/10/17
- Re: [Discuss-gnuradio] cannot make new signal processing block, Martin Braun (CEL), 2012/10/17
- Re: [Discuss-gnuradio] cannot make new signal processing block, Tom Rondeau, 2012/10/17
- Re: [Discuss-gnuradio] cannot make new signal processing block, nexy_sm, 2012/10/17