Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-12 Thread PIGUET Damien
Hi Martin, and thank you for your help. The answer is gr-tutorial. Thanks to the correction suggested by Sebastian I can go beyond this step, but then GRC fails to find the library compiled and installed following the instructions in the tutorial: File "/usr/local/lib/python2.7/dist-packag

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread Martin Braun
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

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread PIGUET Damien
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: >> >> >> >> My QPSK Demodulator >> tutorial_my_qpsk

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread Koslowski, Sebastian (CEL)
On 01/09/2015 03:36 PM, PIGUET Damien wrote: > Here is my block XML: > > > >My QPSK Demodulator >tutorial_my_qpsk_demod_cb >Tutorial >import tutorial >tutorial.my_qpsk_demod_cb($Gray_code) > > Gray Code > gray_code > ... > GRC uses whatever you put in to crea

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread PIGUET Damien
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 paramet

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread Koslowski, Sebastian (CEL)
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 lowe