diff options
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) |