[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Compan
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion |
Date: |
Fri, 09 Jan 2015 16:31:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>