[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and dest
From: |
Matt Ettus |
Subject: |
Re: [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and destination data sizes are different |
Date: |
Wed, 26 Jan 2005 16:57:13 -0800 |
User-agent: |
Internet Messaging Program (IMP) 4.0-cvs |
Quoting Ilia Mirkin <address@hidden>:
> Jamie and I are working on this together, but for the benefit of the
> list, here is what the problem was:
>
> (after familiarizing myself with the gnuradio internals and looking at a
> bunch of other examples)
>
> fftsink takes a complex. the mc4020 puts out a short. there is a
> short_to_float conversion going on (that's the "cvt" in the code), and
> float != complex, hence the ValueError.
>
> My solution to this was to add a float_to_complex block in there, and
> that seemed to make python happy. It didn't seem to read data in, but
> this could be due to about 1000 different things that I will be
> investigating later on.
There is an fftsink that takes floats also. Use make_fftsink_f. f is float, c
is complex, s is signed short, i is signed int.
Matt
- Re: [Discuss-gnuradio] Error while compiling Gnuradio 2.3 from CVS, (continued)
- Re: [Discuss-gnuradio] Error while compiling Gnuradio 2.3 from CVS, Stephane Fillod, 2005/01/11
- Re: [Discuss-gnuradio] Error while compiling Gnuradio 2.3 from CVS, Eric Blossom, 2005/01/11
- Message not available
- [Discuss-gnuradio] Re: mc4020 driver for 2.6 (1 of 3), Meenal, 2005/01/18
- [Discuss-gnuradio] Re: mc4020 driver for 2.6 (1 of 3), Eric Blossom, 2005/01/18
- Re: [Discuss-gnuradio] Re: mc4020 driver for 2.6 (1 of 3), Ilia Mirkin, 2005/01/18
- [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and destination data sizes are different, James Cooley, 2005/01/18
- Re: [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and destination data sizes are different, Eric Blossom, 2005/01/19
- Re: [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and destination data sizes are different, Ilia Mirkin, 2005/01/26
- Re: [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and destination data sizes are different,
Matt Ettus <=
- Re: [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and destination data sizes are different, Eric Blossom, 2005/01/27
- Re: [Discuss-gnuradio] mc4020 + microtune -- ValueError: source and destination data sizes are different, Meenal, 2005/01/27