[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Import block

From: Jeff Long
Subject: Re: [Discuss-gnuradio] Import block
Date: Mon, 20 Oct 2014 15:49:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

On 10/20/2014 03:42 PM, Jeff Long wrote:

Set the PYTHONPATH environment variable to include the location of the
file you want to import, then re-run gnuradio-companion (or the
generated Python file). In bash:

export PYTHONPATH=$PYTHONPATH:/some/other/directory

Then you can put 'import psk' in an Import block.

- Jeff

Also, if you can say what tutorial you're reading, it would help. If you're referring to the built-in psk.py, you would use something like:

  from gnuradio.digital import psk

Maybe the tutorial is old and you're using a newer version of GNU Radio?

- Jeff

On 10/20/2014 01:36 PM, Fernando Rodríguez Brizuela wrote:
I am a new user of GNURadio and I am interested in use the Import block,
to import the PSK.PY file, according to a tutorial that I am reading.

The problem is that file doesn' t exists in the file sytem of my
GNURADIO. When I try to paste it (after download the file from the page
of GNURadio), the block still not work because the Gnuradio doesn't
catch the file. (with others file on the same folder it works fine).

Could someone help me? What I have to do?

Thanks !

*Fernando L. Rodríguez Brizuela -*

Discuss-gnuradio mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]