kit-cel / gr-lte

GNU Radio LTE receiver
GNU General Public License v3.0
394 stars 149 forks source link

Valuesize error: #9

Closed ateckchandani closed 5 years ago

ateckchandani commented 7 years ago

Here's a screen shot of the output I get when I execute the 'lte_top_block_siso.grc' flowchart --

Traceback (most recent call last): File "/home/security/gr-lte/examples/lte_top_block_siso.py", line 201, in main() File "/home/security/gr-lte/examples/lte_top_block_siso.py", line 189, in main tb = top_block_cls() File "/home/security/gr-lte/examples/lte_top_block_siso.py", line 122, in init self.connect((self.lte_channel_estimator_0, 0), (self.lte_pbch_decoder_0, 0))
File "/usr/local/lib64/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 47, in wrapped func(self, src, src_port, dst, dst_port) File "/usr/local/lib64/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 110, in connect self.primitive_connect(args) File "/usr/local/lib64/python2.7/site-packages/gnuradio/gr/runtime_swig.py", line 5304, in primitive_connect return _runtime_swig.top_block_sptr_primitive_connect(self, args) ValueError: itemsize mismatch: Channel Estimator0:0 using 576, PBCH Decoder0:0 using 4800 INFO: MIB decoding_rate = -nan

Please help!

jarodcs commented 7 years ago

Hi there

Is this the setup that you have for this "lte_top_block_siso.grc" flowchart? screenshot from 2017-04-17 03-44-34

Because from your output, this self.connect((self.lte_channel_estimator_0, 0), (self.lte_pbch_decoder_0, 0)) means that the out0 from Channel Estimator is connected to in0 of PBCH Decoder But from my image is not like that. It is more like the out0 from Channel Estimator should be connected to in1 of PBCH Decoder. Maybe this helps, I dont know.

Cheers Jarodcs

mileippert commented 7 years ago

Check the resource blocks settings. Some of the blocks seem to use 6 resource blocks, while the PBCH Decoder uses 50. This change lets the flow graph run on my device.

ateckchandani commented 7 years ago

Thanks. I got it figured out. The Mode of Generation was supposed to be Heir Block mode, not QT GUI.

-

Anisha

On Mon, Apr 24, 2017 at 9:37 AM MichLe notifications@github.com wrote:

Check the resource blocks settings. Some of the blocks seem to use 6 resource blocks, while the PBCH Decoder uses 50. This change lets the flow graph run on my device.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kit-cel/gr-lte/issues/9#issuecomment-296710105, or mute the thread https://github.com/notifications/unsubscribe-auth/AYr9XSpfQ5mNANZmKRB-7b814iag_o_Mks5rzMHGgaJpZM4MFkUY .