discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] GRC: gr_trancendental.xml


From: Michael Hartje
Subject: [Discuss-gnuradio] GRC: gr_trancendental.xml
Date: Sun, 10 Feb 2013 20:29:30 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

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>
<               </option>
<               <option>
23c18
<                       <key>complex_float</key>
---
>                       <key>complex_double</key>
25,29d19
<               </option>
<               <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

Attachment: gr_transcendental.xml
Description: Text Data


reply via email to

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