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.


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to