[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Adding a python block
From: |
devin kelly |
Subject: |
[Discuss-gnuradio] Adding a python block |
Date: |
Sat, 17 Apr 2010 14:42:10 -0400 |
Hello everyone,
I took the d8psk.py modulator and tweaked it a little to make a d16psk.py modulator. I have (both of them) in
gnuradio/gnuradio-core/src/python/gnuradio/blks2impl
I ran
$sudo make install
$make check
Yet my script still gets an error on this line
modulator = gnuradio.blks2impl.d16psk.d16psk_mod(.....)
I import like this
import gnuradio.blks2impl
The error says
Traceback (most recent call last):
File "tx.py", line 94, in <module>
modulator = d16psk.d16psk_mod( # continued on next line...
NameError: name 'd16psk' is not defined
I know the script works as it works when I copy d16psk.py to my the same directory and change the import line. What do I have to do to install this block I wrote?
Thanks for any help,
Devin
- [Discuss-gnuradio] Adding a python block,
devin kelly <=