GRC: gr_trancendental.xml

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
< Complex_double
< complex_double
< type:complex
<
<
23c18
< complex_float

                  <key>complex_double</key>

25,29d19
<
<
< Float_double
< float_double
< type:float
---------------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 H.

Prof. Dr.-Ing. Michael H.
Labor Hochspannungstechnik / Labor elektrische Messtechnik
Neustadtswall 30; D-28199 Bremen
Tel +49 421 5905-3444 FAX +49 421 5905-3476

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 H. wrote:

This showed to me, that the transcendental block uses an unexpexted data
I enclosed a diff, applied the the origirnal, works for me

else has tested this function unter GRC…
Neustadtswall 30; D-28199 Bremen
Tel +49 421 5905-3444 FAX +49 421 5905-3476


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


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

Dipl.-Ing. Martin B.
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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs