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
pgpo0cklVgNSH.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio