diff options
author | manojgudi | 2013-12-29 01:48:20 +0530 |
---|---|---|
committer | manojgudi | 2013-12-29 01:48:20 +0530 |
commit | 0e88f66747dc622d0712ccb490cd8e7c16b13bb7 (patch) | |
tree | 28d18fbbb55fa27e7e579a1222102c3c9acfb48f /gr-sbhs/python | |
parent | 400c3d908d335f45d9a676614274ace6633ff154 (diff) | |
download | gnuradio-0e88f66747dc622d0712ccb490cd8e7c16b13bb7.tar.gz gnuradio-0e88f66747dc622d0712ccb490cd8e7c16b13bb7.tar.bz2 gnuradio-0e88f66747dc622d0712ccb490cd8e7c16b13bb7.zip |
Solved incorrect import issues in grc, changed __init__ of gr-sbhs
Diffstat (limited to 'gr-sbhs/python')
-rw-r--r-- | gr-sbhs/python/__init__.py | 4 | ||||
-rw-r--r-- | gr-sbhs/python/gr_sbhs.py | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gr-sbhs/python/__init__.py b/gr-sbhs/python/__init__.py index 7b719281c..b9829df26 100644 --- a/gr-sbhs/python/__init__.py +++ b/gr-sbhs/python/__init__.py @@ -43,10 +43,6 @@ if _RTLD_GLOBAL != 0: # import any pure python here # Dummy File for future use -from scan_machines import * -print "Scanning Machines" -scan_machines() - # ---------------------------------------------------------------- # Tail of workaround if _RTLD_GLOBAL != 0: diff --git a/gr-sbhs/python/gr_sbhs.py b/gr-sbhs/python/gr_sbhs.py index 28a8dee2d..a3070962e 100644 --- a/gr-sbhs/python/gr_sbhs.py +++ b/gr-sbhs/python/gr_sbhs.py @@ -8,11 +8,16 @@ from scan_machines import * class gr_sbhs(gras.Block): def __init__(self): + gras.Block.__init__(self, name="gr_sbhs", in_sig=[numpy.float32, numpy.float32], out_sig=[numpy.float32]) + from scan_machines import * + print "Scanning Machines" + scan_machines() + # SBHS init self.new_device = Sbhs() self.new_device.connect(1) |