diff options
author | Tom Rondeau <tom@trondeau.com> | 2015-03-02 19:29:37 -0500 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2015-04-02 15:38:57 -0700 |
commit | 636c1557936ca004dce4c905eb7f337ad5677c60 (patch) | |
tree | 1ae2f79fb8012d7ceb00fe5a1c7e0a5b37c9a581 /gnuradio-runtime/python/gnuradio/ctrlport/monitor.py | |
parent | f32872a97c290778f7f3eec037df9fe0d03be792 (diff) |
controlport: adding performance and controlport monitor GRC blocks.
Updated thrift server conf to set an endpoint
-- need to get host address instead of hardcoding to 127.0.0.1.
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/ctrlport/monitor.py')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/ctrlport/monitor.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py b/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py index 8bb26d93a1..712137fe8a 100644 --- a/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py +++ b/gnuradio-runtime/python/gnuradio/ctrlport/monitor.py @@ -48,9 +48,9 @@ class monitor: print "monitor::endpoints() = %s" % (gr.rpcmanager_get().endpoints()) try: cmd = map(lambda a: [self.tool, - re.search("\d+\.\d+\.\d+\.\d+",a).group(0), - re.search("-p (\d+)",a).group(1)], - gr.rpcmanager_get().endpoints())[0] + re.search("\d+\.\d+\.\d+\.\d+",a).group(0), + re.search("-p (\d+)",a).group(1)], + gr.rpcmanager_get().endpoints())[0] print "running: %s"%(str(cmd)) self.proc = subprocess.Popen(cmd); self.started = True |