Thanks for reply,

Because in this site, http://gnuradio.org/doc/doxygen/page_ofdm.html
The figure in transmitting part,
http://gnuradio.org/doc/doxygen/ofdm_tx_core.png
"Virtual source" block shows "pre-ofdm", which means I need to create some
blocks like "Virtual sink" labeled "pre-ofdm" before this?
if yes, I am thinking to create the blocks like

     "Random Source -> OFDM Mod -> Virtual sink"

I am not sure if

    "OFDM carrier allocator, FFT, and OFDM cyclic prefixer" are doing the
same thing with "OFDM Mod"

Or should I change the

    "OFDM Mod" block into like "PSK Mod"?

And about the error,
You were saying

    "I think you just need brackets around the carrier allocation table.
    Also, use Python's range() to make stuff more readable."

Can you explain it more specifically?
bracket at which section?
"python's range()" I have no idea what this is?


Thanks

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Using Volk machine: sse4_1_64_orc

Traceback (most recent call last):

 File "/home/TX-test/top_block.py", line 106, in <module>

   tb = top_block()

 File "/home/TX-test/top_block.py", line 59, in __init__

   self.digital_ofdm_carrier_allocator_cvc_1 =
digital.ofdm_carrier_allocator_cvc(fft_len, (-30,-29,-28, -27, -26, -25,
-24, -23, -22, -21, -20, -19, -18, -17, -16, -15, -14, -13, -12, -11, -10,
-9, -8 , -7, -6, -5, -4, -3, -2, -1,1,2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
13, 14, 15, 16, 17, 18, 19, 20, 21,22,23,24,25,26,27,28,29,
30,31),(-30,-29,-28, -27, -26, -25, -24, -23, -22, -21, -20, -19, -18, -17,
-16, -15, -14, -13, -12, -11, -10, -9, -8 , -7, -6, -5, -4, -3, -2, -1,1,2,
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21,22,23,24,25,26,27,28,29, 30,31), ((-31),(-31)), ((1),(1j)), (0,0),
"packet_len")

 File
"/usr/local/lib/python2.7/dist-packages/gnuradio/digital/digital_swig.py",
line 4268, in make

   return _digital_swig.ofdm_carrier_allocator_cvc_make(*args, **kwargs)

TypeError: in method 'ofdm_carrier_allocator_cvc_make', argument 2 of type
'std::vector< std::vector< int,std::allocator< int > >,std::allocator<
std::vector< int,std::allocator< int > > > > const &'
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



On Thu, Sep 19, 2013 at 12:21 AM, Martin Braun (CEL)
<martin.br...@kit.edu>wrote:

> On Tue, Sep 17, 2013 at 02:50:33PM -0500, Kevin wrote:
> >    self.digital_ofdm_carrier_allocator_cvc_1 =
> > digital.ofdm_carrier_allocator_cvc(fft_len, (-30,-29,-28, -27, -26, -25,
> -24,
> > -23, -22, -21, -20, -19, -18, -17, -16, -15, -14, -13, -12, -11, -10,
> -9, -8 ,
> > -7, -6, -5, -4, -3, -2, -1,1,2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
> 15,
> > 16, 17, 18, 19, 20, 21,22,23,24,25,26,27,28,29, 30,31),(-30,-29,-28,
> -27, -26,
> > -25, -24, -23, -22, -21, -20, -19, -18, -17, -16, -15, -14, -13, -12,
> -11, -10,
> > -9, -8 , -7, -6, -5, -4, -3, -2, -1,1,2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
> 12, 13,
> > 14, 15, 16, 17, 18, 19, 20, 21,22,23,24,25,26,27,28,29, 30,31),
> ((-31),(-31)),
> > ((1),(1j)), (0,0), "packet_len")
>
> I think you just need brackets around the carrier allocation table.
> Also, use Python's range() to make stuff more readable.
>
> >  File "/usr/local/lib/python2.7/dist-packages/gnuradio/digital/
> > digital_swig.py", line 4268, in make
> >
> >    return _digital_swig.ofdm_carrier_allocator_cvc_make(*args, **kwargs)
> >
> > TypeError: in method 'ofdm_carrier_allocator_cvc_make', argument 2 of
> type
> > 'std::vector< std::vector< int,std::allocator< int > >,std::allocator<
> > std::vector< int,std::allocator< int > > > > const &'
> >
> > I think I set something wrong on this block, is there any place which
> contain
> > all the documentation about how to set the parameters?
>
> Yeah, of course: http://gnuradio.org/doc/doxygen/group__ofdm__blk.html
> It's in the manual.
>
> > also, I am confused on the "Virtual source" block, it shows "pre-ofdm"
> >
> > how can I create and make this?
>
> This is unclear. Perhaps you can explain what you're trying to do?
>
> MB
>
> --
> 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
>
> _______________________________________________
> 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

Reply via email to