summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_ctrlport_probes.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_ctrlport_probes.py')
-rw-r--r--gr-blocks/python/blocks/qa_ctrlport_probes.py15
1 files changed, 5 insertions, 10 deletions
diff --git a/gr-blocks/python/blocks/qa_ctrlport_probes.py b/gr-blocks/python/blocks/qa_ctrlport_probes.py
index a6dadcf6a3..140986fea3 100644
--- a/gr-blocks/python/blocks/qa_ctrlport_probes.py
+++ b/gr-blocks/python/blocks/qa_ctrlport_probes.py
@@ -60,11 +60,10 @@ class test_ctrlport_probes(gr_unittest.TestCase):
ep = gr.rpcmanager_get().endpoints()[0]
hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
portnum = re.search(r"-p (\d+)", ep).group(1)
- argv = [None, hostname, portnum]
# Initialize a simple ControlPort client from endpoint
from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
+ radiosys = GNURadioControlPortClient(hostname, portnum, rpcmethod='thrift')
radio = radiosys.client
# Get all exported knobs
@@ -101,11 +100,10 @@ class test_ctrlport_probes(gr_unittest.TestCase):
ep = gr.rpcmanager_get().endpoints()[0]
hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
portnum = re.search(r"-p (\d+)", ep).group(1)
- argv = [None, hostname, portnum]
# Initialize a simple ControlPort client from endpoint
from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
+ radiosys = GNURadioControlPortClient(hostname, portnum, rpcmethod='thrift')
radio = radiosys.client
# Get all exported knobs
@@ -141,11 +139,10 @@ class test_ctrlport_probes(gr_unittest.TestCase):
ep = gr.rpcmanager_get().endpoints()[0]
hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
portnum = re.search(r"-p (\d+)", ep).group(1)
- argv = [None, hostname, portnum]
# Initialize a simple ControlPort client from endpoint
from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
+ radiosys = GNURadioControlPortClient(hostname, portnum, rpcmethod='thrift')
radio = radiosys.client
# Get all exported knobs
@@ -182,11 +179,10 @@ class test_ctrlport_probes(gr_unittest.TestCase):
ep = gr.rpcmanager_get().endpoints()[0]
hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
portnum = re.search(r"-p (\d+)", ep).group(1)
- argv = [None, hostname, portnum]
# Initialize a simple ControlPort client from endpoint
from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
+ radiosys = GNURadioControlPortClient(hostname, portnum, rpcmethod='thrift')
radio = radiosys.client
# Get all exported knobs
@@ -222,11 +218,10 @@ class test_ctrlport_probes(gr_unittest.TestCase):
ep = gr.rpcmanager_get().endpoints()[0]
hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
portnum = re.search(r"-p (\d+)", ep).group(1)
- argv = [None, hostname, portnum]
# Initialize a simple ControlPort client from endpoint
from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
+ radiosys = GNURadioControlPortClient(hostname, portnum, rpcmethod='thrift')
radio = radiosys.client
# Get all exported knobs