discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Transcendental block itemsize mismatch (no custom blo


From: Nicholas Bruce
Subject: [Discuss-gnuradio] Transcendental block itemsize mismatch (no custom blocks)
Date: Thu, 17 Oct 2019 13:59:38 -0700

Hi all,

I am running GNU Radio 3.7.13.4 and working in GNU Radio Companion on Ubuntu 18.04

I have a very simple flowgraph where I have a source of type complex (I've tried both a signal source and a constant source) which I connect to a transcendental block (of type complex) and then output to a sink of type complex (I don't think anything after the transcendental block matters).

I have tried the transcendental block with functions "sin", "cos" and "exp". When I execute the flowgraph, I get the error:

ValueError: itemsize mismatch: sig_source_c0:0 using 8, transcendental0:0 using 16

The transcendental block is meant to take any cmath functions so I thought perhaps there were different function names for the complex and float cases? Something like "ccos" or csin" but I haven't seen any on the list of available functions.

I have seen similar questions where people are creating custom blocks and OOT modules and seeing this problem. They have often used the wrong datatype (numpy complex 32 instead of 64).

I am not using any custom blocks. This problem is with stock/shipped GR blocks.

Any help is appreciated!

Nick


reply via email to

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