Was this code you wrote, or is it from gr-tutorial? M
On 01/09/2015 03:59 PM, PIGUET Damien wrote: > Oh sorry I was looking at the wrong line. Now it works, thanks! > > Damien > > > On 09. 01. 15 15:42, Koslowski, Sebastian (CEL) wrote: >> * PGP Signed by an unknown key >> >> >> 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. >> >> >> >> * Unknown Key >> * 0xF2664303 >> >> > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio