discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] About setting the GRC block properties.


From: Kevin
Subject: [Discuss-gnuradio] About setting the GRC block properties.
Date: Tue, 17 Sep 2013 14:50:33 -0500

Hello,

According to the website, http://gnuradio.org/doc/doxygen/page_ofdm.html
I would like to realize the transmit part.
However, when I tried to execute it, there is error on "ofdm_carrier_allocator"

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

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 &'

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

I think I set something wrong on this block, is there any place which contain all the documentation about how to set the parameters?

also, I am confused on the "Virtual source" block, it shows "pre-ofdm"
how can I create and make this? 
Should I generate the "random source", make "ofdm Mod", and create the" virtual sink called pre-ofdm"?

Thanks

Kevin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]