discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC: gr_trancendental.xml


From: Martin Braun (CEL)
Subject: Re: [Discuss-gnuradio] GRC: gr_trancendental.xml
Date: Mon, 11 Feb 2013 10:54:00 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Can you post the flow graph?
We don't really ever use complex_double, so this seems wrong.

MB

On Sun, Feb 10, 2013 at 08:29:30PM +0100, Michael Hartje wrote:
> dear list readers,
> 
> with GNU Radio Companion v3.6.3-35-g4435082f compiled via build-gnuradio
> using transcendental grc-block gives the following error
> ---------------8<------------
> .....
> ValueError: itemsize mismatch: throttle(14):0 using 8,
> transcendental(13):0 using 16
> ---------------8<------------
> 
> This showed to me, that the transcendental block uses an unexpexted data
> type
> 
> In the explanations for the block I found:
> ---------------8<------------
>     Possible function names can be found in the cmath library. IO may be
> either complex or real, double or single precision.
> 
>     Possible type strings: float, double, complex_float, complex_double
> ---------------8<------------
> 
> I enclosed a diff, applied the the origirnal, works for me
> ---------------8<------------
> 
> 17,21d16
> <                       <name>Complex_double</name>
> <                       <key>complex_double</key>
> <                       <opt>type:complex</opt>
> <               </DEFANGED_option>
> <               <DEFANGED_option>
> 23c18
> <                       <key>complex_float</key>
> ---
> >                       <key>complex_double</key>
> 25,29d19
> <               </DEFANGED_option>
> <               <DEFANGED_option>
> <                       <name>Float_double</name>
> <                       <key>float_double</key>
> <                       <opt>type:float</opt>
> ---------------8<------------
> 
> may be I am wrong; or newer versions have corrected the error or no one
> else has tested this function unter GRC...
> 
> to clarify that: I enclosed the new gr_transcendental.xml
> 
> hopefully this applies to those who did not explore the work around by
> themself
> 
> Michael Hartje
> --
> Prof. Dr.-Ing. Michael Hartje
> Labor Hochspannungstechnik / Labor elektrische Messtechnik
> Neustadtswall 30;   D-28199 Bremen
> Tel +49 421 5905-3444    FAX +49 421 5905-3476
> 


> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgp2NeHrcACSP.pgp
Description: PGP signature


reply via email to

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