aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gr-usrptest/python/functions.py
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2016-10-19 16:41:59 -0700
committerMartin Braun <martin.braun@ettus.com>2017-05-26 16:01:37 -0700
commit4b7b35570c13766ed575f69d79bf1ded954b6886 (patch)
treea07e385db0e3e6adca71a2b3c817993e0b2c8422 /tools/gr-usrptest/python/functions.py
parent76e9e6393fe1d5a0ccc9e05deb431694921850ec (diff)
downloaduhd-4b7b35570c13766ed575f69d79bf1ded954b6886.tar.gz
uhd-4b7b35570c13766ed575f69d79bf1ded954b6886.tar.bz2
uhd-4b7b35570c13766ed575f69d79bf1ded954b6886.zip
gr-usrptest: add LabVIEW remote control capability
- require modules labview_automation and hoplite for RTS python module - new python module: labview_control
Diffstat (limited to 'tools/gr-usrptest/python/functions.py')
-rw-r--r--tools/gr-usrptest/python/functions.py30
1 files changed, 27 insertions, 3 deletions
diff --git a/tools/gr-usrptest/python/functions.py b/tools/gr-usrptest/python/functions.py
index e3f7958b1..2ce2ee451 100644
--- a/tools/gr-usrptest/python/functions.py
+++ b/tools/gr-usrptest/python/functions.py
@@ -54,18 +54,42 @@ def setup_tx_phase_alignment_parser(parser):
def setup_rts_phase_alignment_parser(parser):
- rts_group = parser.add_argument_group('RTS Phase alignment specific arguments')
+ rts_group = parser.add_argument_group(
+ 'RTS Phase alignment specific arguments')
rts_group.add_argument(
- '-pd', '--phasedev',
+ '-pd',
+ '--phasedev',
type=float,
default=1.0,
- help='maximum phase standard deviation of dphi in a run which is considered settled (in deg)')
+ help='maximum phase standard deviation of dphi in a run which is considered settled (in deg)'
+ )
rts_group.add_argument(
'-dp',
'--dphi',
type=float,
default=2.0,
help='maximum allowed d_phase deviation between runs (in deg)')
+ rts_group.add_argument(
+ '--freqlist',
+ type=str,
+ help='comma-separated list of frequencies to test')
+ rts_group.add_argument(
+ '--lv-host',
+ type=str,
+ help='specify this argument if running tests with vst/switch')
+ rts_group.add_argument('--lv-vst-name', type=str, help='vst device name')
+ rts_group.add_argument(
+ '--lv-switch-name', type=str, help='executive switch name')
+ rts_group.add_argument(
+ '--lv-basepath',
+ type=str,
+ help='basepath for LabVIEW VIs on Windows')
+ rts_group.add_argument(
+ '--tx-offset',
+ type=float,
+ help='transmitter frequency offset in VST')
+ rts_group.add_argument(
+ '--lv-switch-ports', type=str, help='comma-separated switch-port pair')
return parser
def setup_manual_phase_alignment_parser(parser):