Dear Sebastian,

Thank you very much for your help.

I checked my XML block file and it uses gray_code with lower 'g', this 
is why I don't understand why GRC generates a Python code with upper G. 
Moreover, the Pythong code generated by GRC calls the Demodulator, hence 
it should pass the parameter value like it does for the other blocks, 
not its name or am I wrong ?

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>

Thanks again,
Damien

On 09. 01. 15 15:27, Koslowski, Sebastian (CEL) wrote:
> * PGP Signed by an unknown key
>
> On 01/09/2015 02:31 PM, PIGUET Damien wrote:
>> self.tutorial_my_qpsk_demod_cb_0 = -------->
>>           cannot find 'Gray_code': tutorial.my_qpsk_demod_cb($Gray_code)
>>           <--------
> Looks like your block XML should read 
> "tutorial.my_qpsk_demod_cb($gray_code)" in the make tag.
> (Notice the lower case 'G').  Parameter keys are case-sensitive.
>
> Sebastian
> ||
> * Unknown Key
> * 0xF2664303
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to