|
From: | Koslowski, Sebastian (CEL) |
Subject: | Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion |
Date: | Fri, 9 Jan 2015 15:42:08 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 01/09/2015 03:36 PM, PIGUET Damien wrote: > Here is my block XML: > > <?xml version="1.0"?> > <block> > <name>My QPSK Demodulator</name> > <key>tutorial_my_qpsk_demod_cb</key> > <category>Tutorial</category> > <import>import tutorial</import> > <make>tutorial.my_qpsk_demod_cb($Gray_code)</make> > <param> > <name>Gray Code</name> > <key>gray_code</key> > ... > </block> GRC uses whatever you put in <make> to create the python code. Yours still reads tutorial.my_qpsk_demod_cb($Gray_code) instead of tutorial.my_qpsk_demod_cb($gray_code) which is why GRC can't replace the template variable "$*G*ray_code". It is undefined.
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |