Hello.
Thank you so much for your attention.
I'm writing my own block using python, trying to get the output of the
OFDM Channel Estimation block to be the input of my own block.
I'm getting the following error:
RuntimeError: itemsize mismatch: ofdm_chanest_vcvc0:0 using 512, cir_sink_c0:0 using 8
I'm using:
def __init__(self, fft_len):
gr.sync_block.__init__(self,
name="cir_sink_c",
in_sig=[np.complex64],
out_sig=None)
self.fft_len = fft_len
and in the YML file:
inputs:
- label: in
domain: stream
dtype: complex
vlen: ${fft_len}
I've tried to use
complex_vetor in the dtype, but I kept getting this error message:
File "/root/prefix/lib/python3/dist-packages/gnuradio/grc/core/ports/port.py", line 91, in item_size
return Constants.TYPE_TO_SIZEOF[self.dtype] * self.vlen
KeyError: 'complex_vector'
I've also tried to use
np.complex128 in the in_sig, but that doesn't work either.
Does anyone a solution for this?
Thank you so much for your help!
Yours sincerely,
Vinicius.